registrations
Update a registration
The endpoint updates the registration with specified ID
put/v1/projects/{projectId}/registrations/{registrationId}
Path parameters
projectIdstring required
Customer's project id
registrationIdstring required
Id of the registration to be updated
Request body
Example request
{
"callbackUrl": "senderid.registrations.api.sinch.com",
"notificationContacts": [
"jane.doe@example.com",
"john.doe@example.com"
],
"requestDetails": [
{
"additionalDetails": [
{
"email": "email@mycompany.com"
},
{
"companyName": "My Company Name",
"website": "https://www.mycompany.com"
}
],
"senderIdDetails": [
{
"sender": "a sender value"
}
]
}
],
"tags": [
"#myTag1",
"#myTag2"
],
"servicePlanId": "a23dccbf-919d-462f-8587-dec95a1b44de"
}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"
],
"status": "IN_QUEUE",
"tags": [
"#myTag1",
"#myTag2"
],
"updateTime": "2021-11-03T14:30:03",
"servicePlanId": "a23dccbf-919d-462f-8587-dec95a1b44de"
}