Skip to content

Sinch Sender ID Registrations API (1.0.0)

This API describes the set of endpoints available to get each market requirements and create registration for sender IDs.

The list of endpoints allows to create, update and delete a registration and also get the current state. For each market, customers can check the different requirements depending on the new sender ID scope, and also download templates to fill in for the registrations.

Interested in this API? Please, reach out to your Account Manager for more info.

Download OpenAPI description
Overview
Languages
Servers
Production server

https://senderid.registrations.api.sinch.com/

Staging server

https://senderid.numbers-registration.staging.sinch.com/

Callback configuration

You can set up callback URLs to receive event notifications when your registration status is updated. When delivering events the order is not guaranteed (for example, a failed event scheduled for retry will not block other events that were queued). The client's callback handler must implement the state machine that can decide what to do with unexpected events, for example, "old" events or invalid state transitions. In these cases the handler could use the API to GET the latest state for the resource. The callback handler is expected to "ingest" the event and respond with 200 OK. The domain-specific business logic and processes should be executed outside of the callback request, as internal asynchronous jobs. An HMAC encrypted secret is used for hashing the payload and sending the hashed String via the X-Sinch-Signature header - that you can use to validate that an incoming request is secure. Hmac secret value can be checked with GET endpoint, and it can be updated with PUT endpoint

Operations

Markets

Operations related to get market availability and different options based on usage

Operations

Policies

Operation related to get policy required information, as fields, validations or attachments

Operations

Request

Returns the whole configuration of a given policyId, including multi configuration, fields, sections and attachments.

Security
OAuth2
Path
projectIdstringrequired

Customer's project id

policyIdstringrequired

Id of the policy

curl -i -X GET \
  'https://senderid.registrations.api.sinch.com/v1/projects/{projectId}/policies/{policyId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
attachmentsArray of objects(AttachmentDefinition)

Attachment Definition

idstring

Policy Version Id

Example: "43342642354352344"
jsonPolicyobject(Policy_JsonPolicy)
policyMultiTypestring(enum)

Indicates whether the policy accepts single or multi sender id requested in each registration process

Enum ValueDescription
SINGLE

Only one sender ID is allowed per registration.

MULTI_SENDER

Up to 50 sender IDs are allowed per registration. They can be included in the senderIdDetails array (one object per sender ID)

Example: "SINGLE"
policyStatusstring(enum)

Policy status

Enum ValueDescription
ENABLED

Policy is in use.

DISABLED

Policies that for any reason has been deactivated. There are several reasons to do so, but they are mainly due to changes in the regulations, which require some manual intervention.

INACTIVE

Market version has been deactivated because a new version has been published. This policy is no longer valid.

Example: "ENABLED"
priceobject(Policy_Pricing)
isOpenPolicyboolean

Indicates if the policy has open registration system. This means that any sender ID requested is automatically approved, without any manual intervention.

statusDisclaimerstring

Contains disclaimer for disabled policies. Empty if policy is ACTIVE

Example: "Policy has been disabled as Registrations for these market conditions are now dynamic."
feesbooleanDeprecated

True if policy registration has any fees associated

Response
application/json
{ "attachments": [ {} ], "fees": true, "id": "43342642354352344", "jsonPolicy": { "companyDetailsTemplate": {}, "contactPersonTemplate": {}, "senderIdTemplate": {}, "marketSpecificDetailsTemplate": {} }, "policyMultiType": "SINGLE", "policyStatus": "ENABLED", "price": { "mode": "SUBSCRIBED", "subscription": {} }, "isOpenPolicy": true, "statusDisclaimer": "Policy has been disabled as Registrations for these market conditions are now dynamic." }

Request

Download a policy template. Use this enpdoint to download the template for those policy attachments which template value is true.

Security
OAuth2
Path
projectIdstringrequired

Customer's project id

Example: eeew32344324edewe2e3
policyIdstringrequired

Policy id requested

Example: 43342642354352344
attachmentIdstringrequired

Attachment definition id requested

Example: 324234762423034240
curl -i -X GET \
  https://senderid.registrations.api.sinch.com/v1/projects/eeew32344324edewe2e3/policies/43342642354352344/attachments/324234762423034240/template \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Request Successful with binary file returned in octet stream

Bodyapplication/octet-stream
string(binary)
Response
No content

Registrations

Submit, update, list and get registration info.

Operations