Numbers///
- API reference
- Porting
- Update configuration
Create Configuration
Get Configuration
Update configuration
Update default configurations for a given project
Security
basicAuth or bearerAuth
Update default configurations for a given project
The default time for porting in numbers. If you don't specify a time in the order this time will be used.
Example:"09:00:00"
- v1.0 of the porting APIhttps://porting.api.sinch.com/v1/projects/YOUR_project_id/configuration
curl -i -X PUT \
-u '<username>:<password>' \
https://porting.api.sinch.com/v1/projects/YOUR_project_id/configuration \
-H 'Content-Type: application/json' \
-d '{
"contact": {
"email": "name@email.com",
"name": "John Smith",
"phone": "+15559999"
},
"webhookUrl": "my.callback.server",
"defaultPortTime": "09:00:00",
"defaultPortTimeZone": "US/Eastern"
}'Successful operation
The default time for porting in numbers. If you don't specify a time in the order this time will be used.
Example:"09:00:00"
Response
{ "contact": { "email": "name@email.com", "name": "John Smith", "phone": "+15559999" }, "webhookUrl": "my.callback.server", "defaultPortTime": "09:00:00", "defaultPortTimeZone": "US/Eastern" }
We'd love to hear from you!
Rate this content: