The endpoint receives as path param project id. Supports optional query parameters to narrow the results and cursor based pagination.
OK
Customer has no authorization for this API
INTERNAL: Internal server error. Typically, a server bug.
{- "nextPageToken": "string",
- "registrations": [
- {
- "attachments": [
- {
- "attachmentId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "createTime": "2021-11-03T14:30:03",
- "fileName": "sender_id_registration_form.docx",
- "mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
- "updateTime": "2021-11-03T14:30:03",
- "uploadStatus": "COMPLETED"
}
], - "callbackUrl": "senderid.registrations.api.sinch.com",
- "createTime": "2021-11-03T14:30:03",
- "etaDate": "2024-11-03",
- "id": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "logs": [
- {
- "createTime": "2021-11-03T14:30:03",
- "message": "Please update the attachment connected to your request.",
- "registrationState": "PENDING"
}
], - "notificationContacts": [
- "jane.doe@example.com",
- "john.doe@example.com"
], - "owner": "Jane Doe",
- "policyId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "price": {
- "currency": "USD",
- "frequency": 1,
- "recurrentFeeAmount": "2",
- "setupFeeAmount": "5"
}, - "registrationType": "ALPHANUMERIC_SENDER_ID",
- "requestDetails": [
- {
- "additionalDetails": [
- { }
], - "senderIdDetails": [
- { }
]
}
], - "status": "IN_QUEUE",
- "tags": [
- "#myTag1",
- "#myTag2"
], - "updateTime": "2021-11-03T14:30:03"
}
], - "totalSize": 0
}
The endpoint creates a registration with specified policyId and registration's Data. The registration will be validated against the selected policy before submission. After this endpoint gets a 200, the registration will be in IN_QUEUE state, and will be editable. For those registrations that need attachments, they must be provided in a separated endpoint.
OK
BAD_REQUEST: Registration validation error
NOT_FOUND: Policy not found
INTERNAL: Internal server error. Typically, a server bug.
{- "policyId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee"
}
{- "attachments": [
- {
- "attachmentId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "createTime": "2021-11-03T14:30:03",
- "fileName": "sender_id_registration_form.docx",
- "mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
- "updateTime": "2021-11-03T14:30:03",
- "uploadStatus": "COMPLETED"
}
], - "callbackUrl": "senderid.registrations.api.sinch.com",
- "createTime": "2021-11-03T14:30:03",
- "etaDate": "2024-11-03",
- "id": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "logs": [
- {
- "createTime": "2021-11-03T14:30:03",
- "message": "Please update the attachment connected to your request.",
- "registrationState": "PENDING"
}
], - "notificationContacts": [
- "jane.doe@example.com",
- "john.doe@example.com"
], - "owner": "Jane Doe",
- "policyId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "price": {
- "currency": "USD",
- "frequency": 1,
- "recurrentFeeAmount": "2",
- "setupFeeAmount": "5"
}, - "registrationType": "ALPHANUMERIC_SENDER_ID",
- "requestDetails": [
- {
- "additionalDetails": [
- { }
], - "senderIdDetails": [
- { }
]
}
], - "status": "IN_QUEUE",
- "tags": [
- "#myTag1",
- "#myTag2"
], - "updateTime": "2021-11-03T14:30:03"
}
{- "comment": "Hi, the NOC letter contains phone numbers, and this is not allowed. Please have this updated to proceed forward. Regards, XX",
- "eventId": "ee34ccbf-919d-462f-8587-dec95a1b11ee",
- "eventType": "REGISTRATION_STATUS_CHANGE",
- "projectId": "aad4ccbf-919d-462f-8587-dec95a1b11b0",
- "resourceId": "01hh51s80tpvjy7pe0mt6nd7at",
- "resourceType": "ALPHANUMERIC_SENDER_ID",
- "status": "IN_QUEUE",
- "timestamp": "2023-06-06T07:45:27.785357"
}
The endpoint receives as path param project id and registration ID. If the registration exists under the specified project id and the registration is in DRAFT, IN QUEUE or PENDING status, the registration will be deleted. Only DRAFT, IN QUEUE or PENDING registrations can be deleted.
OK
BAD_REQUEST: Registration is not in DRAFT, IN QUEUE or PENDING status.
NOT_FOUND: The registration id introduced does not exist.
INTERNAL: Internal server error. Typically, a server bug.
{- "error": {
- "code": 0,
- "details": [
- { }
], - "message": "string",
- "status": "string"
}
}
The endpoint receives as path param project id and registration id. If the registration exists under the specified project id, the details of the registration are returned.
OK
Array of objects (Attachment) Files attached to this registration | |||||||||||||||||||||
callbackUrl | string Webhook URL to specify an endpoint for delivery of notifications about registration updates | ||||||||||||||||||||
createTime | string Creation time of the request. ISO date time format in UTC without timezone offset. | ||||||||||||||||||||
etaDate | string Expected date of the registration approval. ISO date format. | ||||||||||||||||||||
id | string Unique registration identifier. | ||||||||||||||||||||
Array of objects (LogEntry) Detailed history of the status changes this registration went through | |||||||||||||||||||||
notificationContacts | Array of strings Email addresses that will be notified of any status changes of the registration. | ||||||||||||||||||||
owner | string Display name of the user that created the registration. | ||||||||||||||||||||
policyId | string Unique identifier of the policy for this registration. | ||||||||||||||||||||
object (Pricing) | |||||||||||||||||||||
registrationType | string <enum> Specify the senderId type
| ||||||||||||||||||||
Array of objects (RequestDetails) Details of the sender ids to be registered. Details depend on the specific market requirements defined in the policy. | |||||||||||||||||||||
status | string Status of the registration.
| ||||||||||||||||||||
tags | Array of strings User tags used for the registration. Tag have to start from '#' and contains only alphanumerics and dashes. | ||||||||||||||||||||
updateTime | string Update time of the request. ISO date time format in UTC without timezone offset. |
NOT_FOUND: The registration id introduced does not exist.
INTERNAL: Internal server error. Typically, a server bug.
{- "attachments": [
- {
- "attachmentId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "createTime": "2021-11-03T14:30:03",
- "fileName": "sender_id_registration_form.docx",
- "mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
- "updateTime": "2021-11-03T14:30:03",
- "uploadStatus": "COMPLETED"
}
], - "callbackUrl": "senderid.registrations.api.sinch.com",
- "createTime": "2021-11-03T14:30:03",
- "etaDate": "2024-11-03",
- "id": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "logs": [
- {
- "createTime": "2021-11-03T14:30:03",
- "message": "Please update the attachment connected to your request.",
- "registrationState": "PENDING"
}
], - "notificationContacts": [
- "jane.doe@example.com",
- "john.doe@example.com"
], - "owner": "Jane Doe",
- "policyId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "price": {
- "currency": "USD",
- "frequency": 1,
- "recurrentFeeAmount": "2",
- "setupFeeAmount": "5"
}, - "registrationType": "ALPHANUMERIC_SENDER_ID",
- "requestDetails": [
- {
- "additionalDetails": [
- { }
], - "senderIdDetails": [
- { }
]
}
], - "status": "IN_QUEUE",
- "tags": [
- "#myTag1",
- "#myTag2"
], - "updateTime": "2021-11-03T14:30:03"
}
The endpoint updates the registration with specified ID
callbackUrl | string Webhook URL to specify an endpoint for delivery of notifications about registration updates |
notificationContacts | Array of strings Email addresses that will be notified of any status changes of the registration. |
Array of objects (RequestDetails) Details of the sender ids to be registered. Details depend on the specific market requirements defined in the policy. | |
tags | Array of strings User tags used for the registration. Tag have to start from '#' and contains only alphanumerics and dashes. |
OK
Array of objects (Attachment) Files attached to this registration | |||||||||||||||||||||
callbackUrl | string Webhook URL to specify an endpoint for delivery of notifications about registration updates | ||||||||||||||||||||
createTime | string Creation time of the request. ISO date time format in UTC without timezone offset. | ||||||||||||||||||||
etaDate | string Expected date of the registration approval. ISO date format. | ||||||||||||||||||||
id | string Unique registration identifier. | ||||||||||||||||||||
Array of objects (LogEntry) Detailed history of the status changes this registration went through | |||||||||||||||||||||
notificationContacts | Array of strings Email addresses that will be notified of any status changes of the registration. | ||||||||||||||||||||
owner | string Display name of the user that created the registration. | ||||||||||||||||||||
policyId | string Unique identifier of the policy for this registration. | ||||||||||||||||||||
object (Pricing) | |||||||||||||||||||||
registrationType | string <enum> Specify the senderId type
| ||||||||||||||||||||
Array of objects (RequestDetails) Details of the sender ids to be registered. Details depend on the specific market requirements defined in the policy. | |||||||||||||||||||||
status | string Status of the registration.
| ||||||||||||||||||||
tags | Array of strings User tags used for the registration. Tag have to start from '#' and contains only alphanumerics and dashes. | ||||||||||||||||||||
updateTime | string Update time of the request. ISO date time format in UTC without timezone offset. |
BAD_REQUEST: Registration validation error
NOT_FOUND: The registration id introduced does not exist.
INTERNAL: Internal server error. Typically, a server bug.
{ }
{- "attachments": [
- {
- "attachmentId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "createTime": "2021-11-03T14:30:03",
- "fileName": "sender_id_registration_form.docx",
- "mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
- "updateTime": "2021-11-03T14:30:03",
- "uploadStatus": "COMPLETED"
}
], - "callbackUrl": "senderid.registrations.api.sinch.com",
- "createTime": "2021-11-03T14:30:03",
- "etaDate": "2024-11-03",
- "id": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "logs": [
- {
- "createTime": "2021-11-03T14:30:03",
- "message": "Please update the attachment connected to your request.",
- "registrationState": "PENDING"
}
], - "notificationContacts": [
- "jane.doe@example.com",
- "john.doe@example.com"
], - "owner": "Jane Doe",
- "policyId": "d1c7ccbf-919d-462f-8587-dec95a1b11ee",
- "price": {
- "currency": "USD",
- "frequency": 1,
- "recurrentFeeAmount": "2",
- "setupFeeAmount": "5"
}, - "registrationType": "ALPHANUMERIC_SENDER_ID",
- "requestDetails": [
- {
- "additionalDetails": [
- { }
], - "senderIdDetails": [
- { }
]
}
], - "status": "IN_QUEUE",
- "tags": [
- "#myTag1",
- "#myTag2"
], - "updateTime": "2021-11-03T14:30:03"
}
Download attachments previously added to the registration.
Request Successful with binary file returned in octet stream
registration/document not found
{- "error": {
- "code": 0,
- "details": [
- { }
], - "message": "string",
- "status": "string"
}
}
Through this endpoint, attachments can be added to registrations. The required attachments for each registration can be retrieved from the get policy endpoint.
File content body
Document uploaded successfully
Registration status is not valid for including attachments
registration/document not found
Document is too large to upload
{- "error": {
- "code": 0,
- "details": [
- { }
], - "message": "string",
- "status": "string"
}
}