Skip to main content
POST
Verify an FSSAI food licence (v1)
Use this endpoint to confirm that a food business holds the FSSAI licence or registration number it gave you. This is a v1 endpoint: the response is a flat object, not the v2 envelope.

Environments

This endpoint has no Idempotency-Key support. A retried call runs again and can be charged twice. Retry only after you have confirmed the first call failed.

How to read the result

  • status: "success": the licence was found; result holds the licence record as returned by the verification source. idto does not fix those field names, so read them defensively.
  • status: "failed" with HTTP 200 is a definitive answer, not an outage, and is not charged. error_code says why: IDTO_201 no record for this number, IDTO_001 the number is invalid, IDTO_008 the source was unavailable (retry later), IDTO_007 any other failure.
  • Charged only when the response status is success. Billing signal: chargeble and user_consent are present as "true" only on a charged call, spelled exactly as shown. There is no billed field on v1.
  • tranx_id identifies the call for support.

Errors

Every wrapped detail object also carries tranx_id and timestamp. See the Business verification FAQ for common questions. Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Body

application/json
food_license_number
string
required

The 14-digit FSSAI licence or registration number.

user_id
string

Your own reference for the end user.

Response

The call completed. Charged only when status is success.

status
enum<string>
required
Available options:
success,
failed
message
string

Human-readable outcome. Text varies; do not parse it.

error_code
enum<string>

Present only when status is failed.

Available options:
IDTO_001,
IDTO_201,
IDTO_007,
IDTO_008
response_code
integer | null

Informational. Branch on status and error_code instead.

food_license_number
string

The number you sent.

result
object

Licence record fields as returned by the verification source. Empty when status is failed. idto does not fix these field names.

tranx_id
string

idto transaction id for this call.

timestamp
string

When the call was recorded.

chargeble
enum<string>

Present and "true" only when the call was charged.

Available options:
true

Present and "true" only when the call was charged.

Available options:
true
Last modified on October 4, 2026