Skip to content

On demand activation

Request

Activate numbers that are ready to be ported. Confirmation date (FOC) must be today or earlier, and the numbers must be in routing on the Sinch network (occurs at midnight on the date of the port, after concurrence, or following the 18-hour wireline port timer expiration on expedited ports).

Note: In order to send SMS and MMS messages in the US using 10DLC phone numbers, all messages must be sent via an approved campaign. Your campaigns are managed under US 10DLC Campaigns in the SMS section. A number can be associated to an approved campaign after the port completes.

Security
basicAuth or bearerAuth
Path
orderIdstringrequired
Example:897867
Bodyapplication/json

If you want to only activate certain numbers in the order, include this request body with the phone numbers you want to activate.

phoneNumberGroupsArray of strings
curl -i -X POST \
  -u '<username>:<password>' \
  https://porting.api.sinch.com/v1/projects/YOUR_project_id/orders/portIns/897867/activate \
  -H 'Content-Type: application/json' \
  -d '{
    "phoneNumberGroups": [
      "+17775559999"
    ]
  }'

Responses

Successful operation

Bodyapplication/json
phoneNumberGroupsArray of objects

A group of phone numbers to be ported in.

Response
{ "phoneNumberGroups": [ { … } ] }
We'd love to hear from you!
Rate this content: