curl --request POST \
--url https://app.sahlfinancial.com/api/v1/partner/registry/siren \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "123456782"
}
'{
"available": true,
"environment": "sandbox",
"source": "<string>",
"message": "<string>",
"found": true,
"check": {
"normalized": "<string>",
"valid": true,
"kind": "siren",
"siren": "<string>",
"message": "<string>"
},
"results": [
{
"siren": "<string>",
"name": "<string>",
"legal_form_code": "<string>",
"activity_code": "<string>",
"status": "active",
"address": "<string>",
"siret_hq": "<string>",
"created": "<string>",
"establishments": 123
}
]
}{
"detail": {
"code": "partner_identity_rejected",
"message": "The key is bound to a service account and X-Partner-Identity was missing or did not verify for it."
}
}{
"detail": "API key lacks the required scope"
}{
"detail": {
"code": "invalid_environment",
"message": "environment / X-Sahl-Environment must be 'sandbox' or 'production'."
}
}{
"detail": {
"code": "rate_limit_exceeded",
"message": "Too many calls a minute: per API key on the partner routes, or per key / per address at the edge. Wait for Retry-After."
}
}{
"detail": {
"code": "commit_failed",
"message": "The change could not be saved; nothing changed. Retry."
}
}Check a French SIREN / SIRET
Required scope: registry:read.
Luhn check of a SIREN or SIRET, then the French open company directory.
A company name is searched as is. A number whose key does not hold is answered without calling the directory.
Choose the environment with the X-Sahl-Environment header or the environment parameter or field; the Sandbox is the default. Two values that disagree are refused (422 environment_conflict).
curl --request POST \
--url https://app.sahlfinancial.com/api/v1/partner/registry/siren \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "123456782"
}
'{
"available": true,
"environment": "sandbox",
"source": "<string>",
"message": "<string>",
"found": true,
"check": {
"normalized": "<string>",
"valid": true,
"kind": "siren",
"siren": "<string>",
"message": "<string>"
},
"results": [
{
"siren": "<string>",
"name": "<string>",
"legal_form_code": "<string>",
"activity_code": "<string>",
"status": "active",
"address": "<string>",
"siret_hq": "<string>",
"created": "<string>",
"establishments": 123
}
]
}{
"detail": {
"code": "partner_identity_rejected",
"message": "The key is bound to a service account and X-Partner-Identity was missing or did not verify for it."
}
}{
"detail": "API key lacks the required scope"
}{
"detail": {
"code": "invalid_environment",
"message": "environment / X-Sahl-Environment must be 'sandbox' or 'production'."
}
}{
"detail": {
"code": "rate_limit_exceeded",
"message": "Too many calls a minute: per API key on the partner routes, or per key / per address at the edge. Wait for Retry-After."
}
}{
"detail": {
"code": "commit_failed",
"message": "The change could not be saved; nothing changed. Retry."
}
}Authorizations
API key created in the console. Scopes: kyc:extract, kyc:verify, kyc:eid; kyb:onboard, kyb:ice; statements:read; webhooks:manage; requests:read, requests:write; bank:read, bank:write (Growth plan, enabled per workspace by Sahl); registry:read; cases:read; scoring:read, scoring:write; policy:read, policy:write; usage:read. The Sandbox specimen routes, GET /v1/partner/me and GET /v1/partner/errors need any valid key.
Headers
Body
Response
OK