registrations
Get registration
Changed onThe 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.
get/v1/projects/{projectId}/registrations/{registrationId}
Request
- Base URLhttps://senderid.registrations.api.sinch.com
- URLhttps://senderid.registrations.api.sinch.com/v1/projects/{projectId}/registrations/{registrationId}
- AuthOAuth 2Client credentialsToken URL: https://auth.sinch.com/oauth2/token scopes: read
Path parameters
projectIdstring required
Customer's project id
registrationIdstring required
Id of the registration
Response
OK
Example response
{
"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",
"documentType": "Passport"
}
],
"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,
"mode": "SUBSCRIBED",
"recurrentFeeAmount": "2",
"setupFeeAmount": "5"
},
"registrationType": "ALPHANUMERIC_SENDER_ID",
"requestDetails": [
{
"additionalDetails": [
{
"email": "email@mycompany.com"
},
{
"companyName": "My Company Name",
"website": "https://www.mycompany.com"
}
],
"senderIdDetails": [
{
"sender": "a sender value"
}
]
}
],
"senderIds": [
"senderId1",
"senderId2"
],
"senderElements": [
{
"value": "senderId1"
}
],
"status": "IN_QUEUE",
"tags": [
"#myTag1",
"#myTag2"
],
"updateTime": "2021-11-03T14:30:03",
"servicePlanId": "a23dccbf-919d-462f-8587-dec95a1b44de"
}Changes
- info
added the optional property
to the response with the status - info
response property
senderIdsdeprecated
- info