- Documentation
- User Application
- Integrations
- API
- Inbound
Use cases
Examples of common tasks with API v3. More examples are in the Use Cases section of the API v3 reference. For the request rules, the service user and the token, see Inbound API.
Send your own PDF for signature
Section titled “Send your own PDF for signature”When your system already produces the document, for example a loan agreement as a PDF, you can send it for signature as it is, without building a template. You put tag words in the PDF where the fields should be. Cellosign finds the tags, puts a field at each one, and sends the form to the recipient. When the recipient signs and submits it, an Archive webhook delivers the signed PDF to your system.
For new forms, consider a template instead: see Alternatives.
How it works
Section titled “How it works”- You add a tag word to the PDF at the place of each field. In the example below,
TWsign1is where the borrower signs, andTWconsentis where a consent checkbox goes. - Your system creates a transaction (
POST session/) with the PDF and the list of tags. - Cellosign places a field at each tag, hides the tags if you ask it to, and sends the form to the recipient.
- The recipient fills in the form, signs and submits it.
- Cellosign sends the signed PDF and the form data to your system through the Archive webhook.

Prepare the PDF
Section titled “Prepare the PDF”- Write each tag as one word, without spaces, in the PDF’s text. A tag in a scanned image isn’t found.
- Write each tag in one piece, in one font. If the PDF splits the word, for example because its formatting changes in the middle, the tag isn’t found.
- Type the tag with the same capital and small letters as in the request.
- Choose tags that don’t appear anywhere else in the document. A tag also matches longer words that start with it:
TWsign1matchesTWsign10as well. When two of your tags both match a word, the longer tag is used. - Use pages of the same size and orientation. A PDF that mixes them may be refused.
- The size of the PDF is limited, 5 MB by default, for all the documents of the request together. The limit is set by Cellosign.
You can download the sample PDF shown above.
Set up the Archive webhook
Section titled “Set up the Archive webhook”- On the Integrations screen, click Add in the WebHook card.
- In Type, select Post business process result (Archive). Under General, enter the address of your service.
- Turn off Use implicit, so that the webhook runs only for the transactions that ask for it, and click Save.
- The API usage section of the saved webhook shows the code to add to the request, with the webhook’s ID.
A webhook with Use implicit on runs for every transaction of the project, so you don’t add it to the request.
Older examples put the archive address in the request itself, as { "type": "archive", "payload": { "url": "..." } }. This is a legacy option, and it doesn’t work unless Cellosign turned it on for your installation. Use a webhook instead.
See Webhooks and Archive for the settings and what your service receives.
Create the transaction
Section titled “Create the transaction”POST https://app.cellosign.com/api/v3/tidewell/session/Authorization: Token <token>Content-Type: application/json{ "template": { "from_document": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4K...", "analyze_document": { "analyze": true, "hide_placeholder": true, "tags": { "TWsign1": { "type": "pad", "width": 15, "height": 7.5, "position": "LRC" }, "TWconsent": { "type": "checkbox", "width": 2, "height": 2, "position": "CC", "required": false } } } }, "recipient": { "invitations": [ { "address": "client@example.com" } ], "message": "Tidewell Lending: please sign your loan agreement." }, "labels": { "loan_number": "TW-2026-000123" }, "integrations": [ { "id": "2b9d4e61-7c3a-4f0e-8a5d-6e1f2a3b4c5d" } ]}| Key | What it’s for |
|---|---|
template.from_document |
The PDF, encoded in base64. To send several PDFs as one form, use from_documents with a list of PDFs instead. |
template.analyze_document.analyze |
true to look for the tags in the PDF. |
template.analyze_document.hide_placeholder |
true covers each tag with a white box, so the tags don’t show in the form and in the signed PDF. You can also write the tags in white in the PDF. |
template.analyze_document.tags |
The tags to look for, each with the field to put there. See Tag settings. Without tags, Cellosign looks for its default tags. |
recipient.invitations |
Where to send the form: an email address or a mobile number, one or more. Without invitations, nothing is sent, and you can give the recipient the client_url of the response. |
recipient.message |
The text of the invitation. |
labels |
Your own keys, sent back to your system in the Archive webhook. |
integrations |
The webhooks to run for this transaction, by ID, as shown in the webhook’s API usage section. |
ttl |
Optional. How many hours the form is available. Without it, the project’s default applies. |
The recipient, the one-time password and the other options are described under Session in the API v3 reference.
Tag settings
Section titled “Tag settings”| Setting | What it does |
|---|---|
type |
Required. The type of the field, for example pad (signature), checkbox, text, date or file. |
width, height |
Required. The size of the field, in percent of the page’s width and height. For example, 15 and 7.5 for a signature, and 2 and 2 for a checkbox. |
position |
Where to put the field, relative to the tag. See below. Default: DC. |
required |
The recipient must fill in the field to submit the form. Default: true. Add "required": false for an optional field. |
position has a horizontal part and then a vertical part, for example LRC or CB:
| Horizontal | The field… |
|---|---|
D (default) |
is centered on the tag’s left edge. |
LR |
starts at the tag’s left edge and extends to the right. |
C |
is centered on the tag. |
RL |
ends at the tag’s right edge. |
R |
starts at the tag’s right edge, to the right of the tag. |
| Vertical | The field… |
|---|---|
T |
is above the tag. |
C (default) |
is centered on the tag’s bottom line. |
B |
is below the tag. |
Default tags
Section titled “Default tags”Without tags in the request, Cellosign looks for these words. Type them exactly like this:
| Tag | Field |
|---|---|
CellosignPad, CellosignPadRequired |
A signature, optional or required. |
CellosignPadSeal, CellosignPadSealRequired |
A signature with Capture Company Seal, optional or required. |
CellosignCheckbox, CellosignCheckboxRequired |
A checkbox, optional or required. |
Cellosigntext, CellosigntextRequired |
A text field, optional or required. |
CellosignFile, CellosignFileRequired |
A file upload, optional or required. |
The response
Section titled “The response”The response (201) has the details of the new transaction. Save these with your record:
| Key | What it is |
|---|---|
id |
The transaction’s ID. Use it to ask for its status: GET session/<id>/. |
reference |
Another ID of the transaction. GET session/<reference>/ works too, and the Archive webhook sends it. |
transaction_number |
The number shown on the Transactions screen. |
client_url |
The link that opens the form. It is null after the form is submitted or deleted. |
integrations |
The webhooks that ran or are about to run, each with its status: scheduled, success or failed. |
When the recipient submits the form, submitted_at gets the time, and the Archive webhook sends the signed PDF. If the webhook fails, its status is failed, with the reason in error.
If a tag isn’t found, no field is put there, and the request still succeeds. Send a test to your own address before you go live. If the PDF has a word that starts with a tag but differs from it in capital and small letters, the request fails.
Alternatives
Section titled “Alternatives”A template gives you more than a PDF with tags: fields that you fill in advance with initial, conditions, several recipients, accessible forms, and a signed PDF that is accessible too. Build it once in Manager Studio, and create its transactions with "template": { "id": "<template ID>" }.
Postman collection
Section titled “Postman collection”Download the use cases collection. It sends the sample PDF for signature and gets the status of the transaction. Besides baseUrl, project and token, set destination to an email address or a mobile number of your own, and archiveWebhookId to the ID of your Archive webhook. To try it without a webhook, remove integrations from the request body. See Postman collections for how to set it up.