- Documentation
- User Application
- Integrations
- API
- Outbound: Webhooks
Customer Authentication
תוכן זה אינו זמין עדיין בשפה שלך.
Customer Authentication lets your system decide who may open a form. Before a client sees the form, Cellosign shows an Auth screen that asks for a few details, for example a car licence plate and a mobile number. Cellosign sends these details to an endpoint that you implement, and your endpoint answers with a decision: whether this is a known customer who may continue, whether a one-time code (OTP) is needed and where to send it, and which values to fill into the form.
Cellosign is the HTTP client. You implement one HTTP endpoint and return the decision. Your endpoint never returns an OTP code, a Cellosign token or a redirect: Cellosign generates, sends and checks the code itself, and always opens the form the link was created for.
Why do I need this?
Section titled “Why do I need this?”Use Customer Authentication when only your systems know who the client is, for example:
- The client is identified by business details (licence plate, policy number, account number), not by a phone number or e-mail that Cellosign already has.
- The OTP must go only to a phone or e-mail that you hold for that customer, never to one the client typed in. This stops a person from receiving a code for someone else’s account.
- The form should open with values from your system (customer name, last 4 digits of a card, amount due).
How it works
Section titled “How it works”- You select an Auth screen for a template, a template recipient, or the start event of a public workflow link.
- The client opens the form link. Instead of the form, the Auth screen opens and asks for the details you configured, for example a licence plate and a mobile number.
- Cellosign checks the details (required fields, format, your validation rules), its own attempt limits and the CAPTCHA. Only then it sends the details to your endpoint, together with the query parameters of the link and the form it belongs to.
- Your endpoint looks the customer up and returns a decision, the customer’s
identity, optionalinitialvalues and, when an OTP is needed, the phone numbers and e-mail addresses to send it to. - If you asked for an OTP, Cellosign sends one 6-digit code to every destination you returned, and the client enters it on the code screen.
- Cellosign checks that your
identitymatches the identity the session was created with, and opens the form. On a public link, Cellosign creates the form at this point, with yourinitialvalues and youridentity.
If anything fails (no match, a wrong code, an invalid answer, a timeout), the client sees the error screen of the Auth screen and no form data.
Before you start
Section titled “Before you start”- Check with your Cellosign account team that Auth screens is enabled for your company. Without it, the webhook type and the Auth screens card don’t appear.
- Customer Authentication works with Formular forms only (the React or jQuery form frontend, Formular API in the company tariff). A classic form that requires an Auth screen can’t be opened.
- To send the OTP, the project needs a working SMS integration for
smsdestinations and an SMTP integration foremaildestinations. - Send your Cellosign contact the host and port of your endpoint (and of your token endpoint, if you use one) for every environment. Cellosign operations must allow them before any call can succeed. See Network requirements.
- You need the Manager role in the project.
Step 1 — Create the customer authentication webhook
Section titled “Step 1 — Create the customer authentication webhook”- On the Integrations page, locate the Webhooks pane and click Add.
- Fill in the form:
| Field | What it’s for |
|---|---|
| Alias | A name for the webhook. You select the webhook by this name in the Auth screen. |
| Type | Select Authenticate customer through a remote decision service. |
| URL | The full address of your endpoint, for example https://auth.example.com/cellosign/authorize. |
| Method, Timeout, verify ssl, Content type, Accept | Fixed: POST, 10 seconds, TLS verification on, JSON. You can’t change them. |
| Headers | Optional fixed headers that Cellosign adds to every call. |
| Authentication | How Cellosign authenticates to your endpoint. See Authentication. |
| mTLS | Optional CA and/or certificate and key. See Authentication. |
- Click Save.
- Use Test to check that your endpoint answers correctly. See Test your endpoint.
A webhook that an active Auth screen uses can’t be deactivated. Deactivate the Auth screen or select another webhook in it first.
Step 2 — Create the Auth screen
Section titled “Step 2 — Create the Auth screen”In the project’s Auth screens card, create a screen, select the webhook from step 1, and add the fields the client must enter. Each field’s Name and Type become the name and field_type your endpoint receives in auth_fields. Then set the texts, the layout and the images, and activate the screen.
See Auth screens for every setting.
Step 3 — Use the Auth screen and create sessions
Section titled “Step 3 — Use the Auth screen and create sessions”- Select the Auth screen on the template’s Information Security tab, in a template recipient’s card, or in the public start event of a BPMN workflow. See Use the Auth screen.
- When you create a session for a known customer, set the recipient’s identity to the value your endpoint will return as
identity:- API v3:
recipient.identity, for examplePOST /api/v3/{project_name}/session/with{"template": {"id": "<template ID>"}, "recipient": {"identity": "customer-845739"}}. - BPMN workflow: Role identity (or Role identity reference) in the session node.
- API v3:
The Auth screen is fixed when the session is created. API v3 and workflow requests can’t override it: a recipient with auth_screen or customer_auth, or, for a recipient that uses an Auth screen, is_require_otp, otp_destination, password, password_field, is_system_user or require_enduser_sso, is refused with CUSTOMER_AUTH_POLICY_OVERRIDE.
Endpoint
Section titled “Endpoint”The operation is an HTTP POST with JSON request and response bodies:
POST https://<your-host>/<your-path>Content-Type: application/jsonAccept: application/jsonX-Request-ID: <uuid>X-CelloSign-Request-ID: <uuid>The path is chosen by you. You enter the full URL in the webhook; any path and query string are allowed. /v1/cellosign/session-auth/authorize in the examples is only a reference path.
Headers Cellosign sends
Section titled “Headers Cellosign sends”| Header | Value |
|---|---|
Content-Type |
application/json |
Accept |
application/json |
Accept-Encoding |
identity. Don’t compress the response: a compressed response is refused. |
X-Request-ID |
A UUID for one client submission. It stays the same when Cellosign retries the call (see Timeouts and retries). Use it for idempotency and correlation, and quote it when you report a problem. |
X-CelloSign-Request-ID |
A UUID for one HTTP attempt. A retry gets a new value. |
Authorization |
Basic … or Bearer …, depending on the authentication you chose. |
| Your API key header | The header name and value you configured, for example X-API-Key, when you use an API key. |
| Your static headers | Any fixed headers you added to the webhook, for example X-Tenant: acme. |
Cellosign sends no cookies and no User-Agent header.
Your static headers and your API key header can’t use these names (not case-sensitive): Host, Content-Length, Transfer-Encoding, Cookie, Authorization, Content-Type, Accept, Accept-Encoding, X-Request-ID, X-CelloSign-Request-ID. Header names must be unique.
Request
Section titled “Request”The body is UTF-8 JSON of up to 128 KiB. It contains exactly these properties and nothing else.
| Element | Type | What it’s for |
|---|---|---|
auth_fields |
array, 1–50 items | The details the client entered on the Auth screen, then the query parameters of the link. |
auth_fields[].name |
string | The field’s Name from the Auth screen (a machine key, never the label the client sees), or the query parameter’s name. |
auth_fields[].value |
string, boolean or null |
The value. Its format depends on field_type. |
auth_fields[].field_type |
string | string, number, phone, email, israeli_id or checkbox. Query parameters are always string. |
auth_fields[].source |
string | form for a field of the Auth screen, query for a query parameter of the link. |
client.ip |
string | The client’s IP address (IPv4 or IPv6). |
client.user_agent |
string | The client’s browser User-Agent, up to 1024 characters. May be empty. |
resources |
object | What the client is trying to open: any of process, template and session. Always present; may be empty ({}). |
resources.process.id |
string (UUID) | The workflow process ID. |
resources.template.id |
string | The template ID. |
resources.session.id |
string (UUID) | The ID of the form instance in Cellosign. It is not the code in the form link. |
Example request
Section titled “Example request”{ "auth_fields": [ {"name": "plate", "value": "1234567", "field_type": "string", "source": "form"}, {"name": "mobile", "value": "0501234567", "field_type": "phone", "source": "form"}, {"name": "campaign", "value": "renewal", "field_type": "string", "source": "query"} ], "client": { "ip": "203.0.113.42", "user_agent": "Mozilla/5.0" }, "resources": { "process": {"id": "e68c6dcb-7606-4e72-a88f-8c3efb0f9b28"}, "template": {"id": "customer-onboarding-v4"}, "session": {"id": "7a35c587-f3f1-4719-b75d-a0c2f3be42e8"} }}Auth screen fields
Section titled “Auth screen fields”auth_fields first lists every field of the Auth screen, in the order they appear on the screen. Fields are required by default. Cellosign checks every value (required, type, and the field’s validation regex, if any) before it calls you, so a value that fails is never sent.
field_type |
Field type on the Auth screen | value |
|---|---|---|
string |
Text | String, up to 20 characters. Not trimmed. |
number |
Number | String, up to 20 characters, never a JSON number, so leading zeros are kept. Only the length is checked; add a validation regex on the field to allow digits only. |
phone |
Phone | Israeli number, digits only: 0 + 8–9 digits (0501234567) or +972 + 8–9 digits (+972501234567). The first digit after 0 or +972 can’t be 0. Sent as typed. |
email |
Valid e-mail address, up to 254 characters. | |
israeli_id |
Israeli ID | Exactly 9 digits with a valid check digit. |
checkbox |
Checkbox | true or false. null only when the checkbox is optional and the client didn’t select it. |
An optional field that the client left empty is sent with "value": "" (a checkbox with null).
Query parameters
Section titled “Query parameters”After the Auth screen fields, auth_fields lists the query parameters of the link the client opened, in the order they appear in the URL, with "source": "query" and "field_type": "string". Use them to pass context such as a campaign code.
- Names and values are URL-decoded, but not trimmed or converted. A value can be up to 2048 characters and may be empty.
- A repeated parameter is sent once per occurrence.
- A query parameter never replaces an Auth screen field with the same name: both are sent.
- These names are reserved and never sent (not case-sensitive):
tok,token,project,password,otp,otp_code,recaptcha_token,access_token,refresh_token,authorization,session,session_id,template,template_id,process,process_id,redirect_url,return_url,callback_url,x-request-id,x-cellosign-request-id, and any name starting withcellosign_or__cellosign_.
Data that is never sent
Section titled “Data that is never sent”Cellosign never sends cookies, Cellosign access or refresh tokens, the code in the form link, CAPTCHA tokens, OTP codes, passwords or any credential in the request body.
client and auth_fields contain personal data. Don’t log the request body.
Response
Section titled “Response”Return HTTP 200 with Content-Type: application/json (optionally ; charset=utf-8) and one of the decisions below. Only HTTP 200 carries a decision; see HTTP status codes for everything else.
status |
Meaning | What happens |
|---|---|---|
ok + "challenge": "none" |
Known customer, may continue. No OTP. | The form opens with the initial values. |
ok + "challenge": "otp" |
Known customer, may continue after an OTP. | Cellosign sends one code to every address in otp_destinations. After the client enters the code, the form opens with the initial values. |
user_not_found |
No customer matches these details. | Access is refused. Counts as a failed attempt. |
denied |
Known customer who may not continue. | Access is refused. Counts as a failed attempt. |
rate_limited |
You are throttling this customer or client. | The client sees the Too many attempts screen, with the waiting time if you send retry_after_seconds. |
error |
You understood the request but couldn’t decide (for example, your back end is down). | Access is refused. |
Values are case-sensitive. Any other status or challenge value, an extra or missing property, or a property that doesn’t belong to that status makes the whole response invalid, and access is refused.
| Property | ok + none |
ok + otp |
user_not_found, denied, error |
rate_limited |
|---|---|---|---|---|
identity |
Recommended | Recommended | Not allowed | Not allowed |
initial |
Required (may be []) |
Required (may be []) |
Not allowed | Not allowed |
otp_destinations |
Not allowed | Required, 1–5 | Not allowed | Not allowed |
reason_code |
Not allowed | Not allowed | Optional | Optional |
retry_after_seconds |
Not allowed | Not allowed | Not allowed | Optional |
Approved without OTP
Section titled “Approved without OTP”{ "status": "ok", "identity": "customer-845739", "initial": [ {"name": "customer_name", "value": "Dana Levi", "type": "string"} ], "challenge": "none"}challenge: none only means that you don’t require an OTP. Cellosign’s own checks (the link, the CAPTCHA, the attempt limits, IP and country restrictions) still apply.
Approved with OTP
Section titled “Approved with OTP”{ "status": "ok", "identity": "customer-845739", "initial": [], "challenge": "otp", "otp_destinations": [ {"address": "0501234567", "type": "sms"}, {"address": "dana@example.com", "type": "email"} ]}- Return 1–5 destinations.
typeissmsoremail. sms: an Israeli mobile number in the same format as thephonefield (05…or+9725…, digits only).email: a valid e-mail address, up to 255 characters.- No spaces around the address, and no duplicates.
0501234567and+972501234567are the same number, so sending both makes the response invalid. - Cellosign generates one code and sends it to every destination. The client sees the masked addresses the code was sent to, and one code field.
- Cellosign uses only the destinations you return. It never falls back to a phone number or e-mail that the client typed in or that the session was created with.
How Cellosign sends the code:
- The code has 6 digits. It is valid for the template’s OTP timeout (5 minutes by default), counted from the moment the client submitted the details.
- SMS goes through the project’s SMS integration, with the OTP SMS message of the Auth screen (or the project’s OTP message). E-mail goes through the project’s SMTP integration, with the project’s OTP message.
- The code is sent to all the destinations at once. At least one must accept it; otherwise the client sees the error screen. The code screen lists only the destinations that accepted it, masked: the last 4 digits of a phone number, the first letter and the domain of an e-mail address.
- The client can ask for a new code after 60 seconds. The new code goes to the same destinations and the old one stops working. Your endpoint is not called again, and the time limit is not extended.
identity
Section titled “identity”identity is your stable, opaque ID of the customer, 1–300 characters, for example customer-845739. It is optional in the schema, but return it with every ok decision: it is how Cellosign ties the session to one customer.
| The session | Your response | Result |
|---|---|---|
| Was created with a recipient identity | The same identity, character for character |
The code is sent (or the form opens). |
| Was created with a recipient identity | A different identity, or none |
The client sees the error screen. No code is sent. |
| Was created without a recipient identity | Any identity, or none |
No check. Anyone whose details you accept can open the link. |
| Is created now, from a public link of a template | identity |
It becomes the identity of the new session (recipient.identity in API v3 responses, webhooks and the archive). |
| Is created now, from a public link of a workflow | identity |
The process receives it as $initiator.identity, with the initial values in $initiator.context. |
Cellosign compares the identity again when the client enters the code, asks for a new code and opens the form.
- Use a value that never changes for the customer, such as your internal customer number, and the same value when you create sessions for that customer.
- Never put a token, password, phone number, e-mail address or ID number in
identity. - Cellosign never shows
identityto the client and never logs it.
initial: values for the form
Section titled “initial: values for the form”initial lists values that Cellosign fills into the form. Send [] when there are none.
{"name": "customer_name", "value": "Dana Levi", "type": "string"}nameis the ID of a field in the template, unique in the array.valueis a string of up to 2048 characters.typeis alwaysstring.- Allowed field types: text, text area, e-mail, phone, number, date, date and time, select and radio. Signature, file, image, payment, paragraph, checkbox and table fields, and hidden or system fields, are not allowed.
- Cellosign checks the whole array before it sends the code. One unknown, duplicate or not allowed name makes the whole response invalid, and the client sees the error screen.
When the values are used:
| Link | What happens with initial |
|---|---|
| Public link | The values fill the new form. They take precedence over query parameters of the link and over values entered on the public page. In a workflow, they are also available in $initiator.context. |
| A link you sent (the session already exists) | The values are checked but not written into the form. Pass the values when you create the session instead. |
Values are never logged; only their number is.
Refused, throttled or undecided
Section titled “Refused, throttled or undecided”{"status": "user_not_found", "reason_code": "NO_MATCH"}{"status": "denied", "reason_code": "ACCOUNT_BLOCKED"}{"status": "rate_limited", "reason_code": "TOO_MANY_ATTEMPTS", "retry_after_seconds": 300}{"status": "error", "reason_code": "UPSTREAM_UNAVAILABLE"}reason_codeis optional: 1–64 characters of upper-case letters, digits and_, starting with a letter or digit. Cellosign checks it but doesn’t show, store or log it. The client always sees the texts of the Auth screen, never your text.retry_after_secondsis an integer from 1 to 86400. It appears on the Too many attempts screen as the waiting time.- Prefer
{"status": "error"}with HTTP 200 over a 5xx when your own back end fails but your endpoint works: repeated 5xx responses make Cellosign stop calling you for a minute (see Circuit breaker).
Response rules
Section titled “Response rules”- HTTP 200,
Content-Type: application/json(; charset=utf-8is allowed, other parameters are not). - Not compressed (no
Content-Encoding, oridentity). - At most 64 KiB.
- UTF-8 JSON without a byte-order mark, without
NaNorInfinity, and without a repeated key anywhere. - Exactly the properties of one decision, no more.
HTTP status codes
Section titled “HTTP status codes”Return business answers (not found, denied, throttled) as HTTP 200 decisions, not as 4xx.
| Your endpoint returns | Cellosign |
|---|---|
200 with a valid decision |
Applies the decision. |
200 with anything invalid |
Refuses access. Counts as a failure of your endpoint. |
429 Too Many Requests |
Treated as rate_limited. The body is not read. A Retry-After header (seconds or an HTTP date) becomes the waiting time. |
3xx |
Refuses access. Redirects are never followed. |
Any other status (400, 401, 403, 404, 422, 500, 502, 503, 504…) |
Refuses access. The body is not read, so a decision in it is ignored. Not retried. |
401 and 403 are never shown to the client as “not found” or “denied”: they mean that the webhook’s credentials are wrong, and the client sees the error screen.
There is no fail-open mode: if Cellosign can’t get a valid decision, the client doesn’t get access.
Timeouts and retries
Section titled “Timeouts and retries”- Each decision has 10 seconds in total. This covers getting a token (for a bearer token), connecting, sending the request, waiting for your answer and reading it, and the one retry. The time can’t be changed. Answer well within it.
- Cellosign retries at most once, immediately, and only when the connection failed before your endpoint sent any response: DNS temporarily failing, connection refused, reset or timed out, or the TLS handshake interrupted.
- The retry has the same
X-Request-IDand a newX-CelloSign-Request-ID. Because your endpoint may already have handled the first attempt, handle a repeatedX-Request-IDidempotently: return the same decision and don’t count the attempt twice. - An HTTP response is never retried, including
429and503. There is no retry later in the background: one submission of the client is one decision.
Your endpoint must be read-only: deciding must not change anything on your side.
Circuit breaker
Section titled “Circuit breaker”Cellosign protects your endpoint and its own service separately for each webhook:
- After 5 failures in a row (timeouts, connection errors, invalid responses, any non-200 status except 429), Cellosign stops calling your endpoint for 60 seconds. During that time clients see the error screen at once. After 60 seconds one call is let through: if it succeeds, calls resume.
- Any valid decision, including
denied,user_not_foundanderror, resets the count.429neither counts nor resets. - At most 20 calls to your endpoint run at the same time; more are refused at once.
Authentication
Section titled “Authentication”Choose how Cellosign authenticates to your endpoint in the webhook’s Authentication settings.
| Option | What your endpoint receives |
|---|---|
| Without authentication | No credentials. Use this only together with mTLS or network restrictions. |
| Basic authentication | Authorization: Basic base64(username:password) |
| Custom header based authentication (API key) | Your header and value, for example X-API-Key: <key> |
| Authentication with client secret token provider | Authorization: Bearer <token>. Cellosign gets the token from your token endpoint through a Client Secret integration of the same project. See Secrets. |
With a client secret token provider, Cellosign reuses a token until 5 minutes before it expires. If it needs a new token, it requests one once; if that fails, your decision endpoint isn’t called and the client sees the error screen. The token endpoint must use HTTPS with a certificate from a public certificate authority, and it shares the 10 seconds of the decision.
mTLS. You can also select a client certificate and/or a CA certificate (see mTLS). A selected CA replaces the public certificate authorities for your endpoint. mTLS requires an https:// URL.
Credentials are stored encrypted in the integration and never appear in logs.
Network requirements
Section titled “Network requirements”Cellosign connects only to endpoints that were explicitly allowed:
- Host name, not an IP address. The URL must use a host name with at least two parts (
auth.example.co.il). IP addresses,localhost, user names or passwords in the URL and#fragmentsare not allowed. - Allowlisted by Cellosign. Cellosign operations must add your exact host and port to the allowlist of each Cellosign environment, for your decision endpoint and, if you use a bearer token, your token endpoint. Until then every call fails. Send your Cellosign contact the host and port for each environment.
- Public addresses. Every address your host name resolves to must be public. Private addresses (
10.x,172.16–31.x,192.168.x) are allowed only if Cellosign operations allowlisted that network for you (for example, a private link). Loopback, link-local and cloud metadata addresses are always refused. Cellosign connects to the first address only, so every address must serve the endpoint. - HTTPS. Use
https://with TLS 1.2 or newer and a certificate valid for the host name. Certificate checks can’t be turned off. Plainhttp://is accepted too, but use it only inside a private network agreed with Cellosign operations (for example, a service in the same cluster), because the personal data in the request is then not encrypted.http://can’t be combined with mTLS, and the token endpoint must always usehttps://. - No redirects. Cellosign doesn’t follow redirects and doesn’t use proxies.
- Your firewall. If your endpoint accepts only known source addresses, ask your Cellosign contact for the outgoing addresses of each environment.
Limits
Section titled “Limits”| Item | Limit |
|---|---|
| Request body | 128 KiB |
| Response body | 64 KiB |
auth_fields |
1–50 items |
| Field name | 1–128 characters: letters, digits and _ . : -, starting with a letter or digit |
| Text and Number value | Up to 20 characters |
| E-mail value | Up to 254 characters |
| Query parameter value | Up to 2048 characters |
client.user_agent |
Up to 1024 characters |
identity |
1–300 characters |
initial |
0–50 items |
initial[].value |
Up to 2048 characters |
otp_destinations |
1–5 |
reason_code |
1–64 characters |
retry_after_seconds |
1–86400 |
| Time for one decision | 10 seconds, including the one retry |
Logging and privacy
Section titled “Logging and privacy”Every decision is recorded in Cellosign’s log and audit, with the X-Request-ID, the outcome, the HTTP status, the number of initial values and destinations, and the duration. Values are never logged or audited: not the details the client entered, not identity, not the initial values, not the destinations, not reason_code, and not credentials.
On your side:
- Authenticate Cellosign before you process any personal data.
- Don’t log request bodies, OTP destinations or credentials.
- Treat every value, including
resources, as untrusted input. A resource ID is not a credential: don’t grant anything because a request carries a given ID. - Return OTP destinations only after you matched the customer.
- You may also limit attempts on your side (return
rate_limited), without revealing whether a customer exists.
Example curl request
Section titled “Example curl request”curl --request POST 'https://auth.example.com/v1/cellosign/session-auth/authorize' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'X-Request-ID: 983c5cb4-6d1c-4f10-921a-9148e2c3fd31' \ --header 'X-CelloSign-Request-ID: 0e796ff9-6104-46c6-aa35-85af2287bd3f' \ --header 'X-API-Key: <your key>' \ --data '{ "auth_fields": [ {"name": "plate", "value": "1234567", "field_type": "string", "source": "form"}, {"name": "mobile", "value": "0501234567", "field_type": "phone", "source": "form"} ], "client": {"ip": "203.0.113.42", "user_agent": "Mozilla/5.0"}, "resources": {"session": {"id": "7a35c587-f3f1-4719-b75d-a0c2f3be42e8"}} }'Test your endpoint
Section titled “Test your endpoint”You can call your endpoint from the webhook itself, without a client or a form:
- Save the webhook, then open it again.
- Under Test connection, edit Test request body if you want: a request in the format above, for example with the details of a test customer. Leave it empty to send the example request.
- Click Test.
Cellosign sends the request once, through the same network and security checks as a real call, but without the retry and without the circuit breaker. The result shows the HTTP status, your response, and Response validation (REQ-1057): whether the response is a valid decision, its status and challenge, and, if it is not valid, which rule failed. No OTP is sent and nothing is audited as a decision.
Then test with a real form:
- Open a protected link and enter the details of a known customer: you get the code screen (or the form, for
challenge: none), and after the code the form opens with yourinitialvalues. - Enter details that don’t match: the error screen.
- Return
rate_limitedwithretry_after_seconds: the Too many attempts screen with the waiting time. - Make your endpoint slow (over 10 seconds) or return a 5xx: the error screen.
Implementation checklist
Section titled “Implementation checklist”- HTTPS endpoint with TLS 1.2 or newer and a certificate valid for the host name.
- Every address of the host name is public (or on a private network agreed with Cellosign), and serves the endpoint.
- Host and port of the decision endpoint (and token endpoint) sent to Cellosign for every environment.
- Cellosign is authenticated (Basic, API key, bearer token and/or mTLS) before any personal data is processed.
- Only
POSTwithapplication/jsonis accepted, and the request is validated. - A repeated
X-Request-IDreturns the same decision. - The answer arrives well within 10 seconds.
- Business answers are HTTP 200 decisions;
429for throttling; no redirects. -
identityis returned with everyokdecision. -
initialis always present onok([]if there are no values), and its names match fields of the template. - OTP destinations come from your records, never from what the client typed, with no duplicates.
- Response is uncompressed JSON of up to 64 KiB, with no extra properties and no repeated keys.
- Request bodies, destinations and credentials are not logged.
Troubleshooting
Section titled “Troubleshooting”The Response validation of the Test button shows the reason of a failure. For a real call, give Cellosign support its X-Request-ID: the call is audited with the same reason. Common reasons:
| Reason | What to check |
|---|---|
host_not_allowed |
Cellosign operations haven’t allowed your host and port in this environment yet. |
address_denied, private_address_denied |
Your host name resolves to an address that is not public, or to a private network that wasn’t agreed. |
tls_certificate, tls_failed |
The certificate is not valid for the host name, not trusted, or TLS is older than 1.2. With a private CA, select it in the webhook’s mTLS settings. |
connect_refused, connect_timeout, dns_failed |
Your endpoint is down or unreachable from Cellosign. |
deadline_expired |
No complete answer within 10 seconds (including the token request). |
http_status, http_redirect |
Your endpoint returned a status other than 200 or 429. Return business answers as HTTP 200. |
media_type, content_encoding, oversized, malformed, duplicate_key |
The response is not uncompressed JSON of up to 64 KiB with Content-Type: application/json. |
schema |
The JSON doesn’t match a decision: an unknown status, a missing initial, an extra property, an invalid or duplicate destination. The Test button shows which property. |
oauth_failed |
Your token endpoint refused the client secret integration, or returned no access_token. |
circuit_open |
Your endpoint failed 5 times in a row; Cellosign waits 60 seconds before it calls it again. |
| What the client sees | What to check |
|---|---|
The error screen although your endpoint returned ok |
The identity matches the identity the session was created with. Every initial name is an allowed field of the template. At least one OTP destination accepted the code. |
| No code arrives | The project’s SMS and SMTP integrations work. The destination is a valid Israeli mobile number or e-mail address. |
| Too many attempts | The client failed 5 times within a minute (or entered 15 wrong codes), or your endpoint returned rate_limited or 429. |
| The link shows an error instead of the Auth screen | The template uses a Formular frontend (a classic form with an Auth screen can’t be opened), the screen is active and published, and Auth screens is enabled for your company. |