Skip to content

Get Configuration

Request

Retrieve Notification Configuration for a given project

Security
basicAuth or bearerAuth
curl -i -X GET \
  -u '<username>:<password>' \
  https://porting.api.sinch.com/v1/projects/YOUR_project_id/configuration

Responses

Successful operation

Bodyapplication/json
contactobject

Contains the contact information for the default user.

webhookUrlstring

The default webhook URL to use for callbacks.

Example:"my.callback.server"
defaultPortTimestring

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"
defaultPortTimeZonestring

The default time zone for porting in numbers. If you don't specify a time zone in the order, this time zone will be used.

Enum ValueDescription
US/Eastern

US Eastern Timezone

US/Central

US Central Timezone

US/Mountain

US Mountain Timezone

US/Pacific

US Pacific Timezone

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: