Create an order to port phone numbers from another carrier into Sinch. Refer to the Port-In Status section for more information on port-in order updates. Please note that order will fail if you try to port numbers that are not portable, so you should always use the portability check before creating an order.
Note: For port orders of over 500 numbers, please contact the support team.
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.
The date and time you want the numbers to be ported in. If you set a defaultPortTime and defaultPortTimeZone in defaults those settings will be used if not set per order. If you haven't set defaults and do not set the time and time zone on the order the system default will be used.
System Default Time: 09:00:00 US/Eastern
Your reference you specified when creating the order
If you use onDemand activation you will need to make sure the numbers are both confirmed and released for activation, if you don't use onDemand the numbers will be activated on the desiredPortDate is the recommended way. If true the numbers will be activated as when you call :activate, if false they will be activated on the desiredPortDate
Date when the LOA was uploaded. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
- v1.0 of the porting APIhttps://porting.api.sinch.com/v1/projects/YOUR_project_id/orders/portIns
curl -i -X POST \
-u '<username>:<password>' \
https://porting.api.sinch.com/v1/projects/YOUR_project_id/orders/portIns \
-H 'Content-Type: application/json' \
-d '{
"desiredPortSchedule": {
"desiredPortDate": "2025-01-31",
"desiredPortTime": "10:00:00",
"desiredPortTimeZone": "US/Eastern"
},
"phoneNumbers": [
{
"phoneNumber": "+12345678901",
"voiceConfiguration": {
"type": "EST",
"trunkId": "123456"
},
"portOutInfo": {
"existingPortOutPin": "1234"
},
"endUser": {
"name": "John Doe",
"streetName": "Main St",
"streetNum": "123",
"city": "Anytown",
"state": "NY",
"zipCode": "12345"
}
}
]
}'Successful operation
The date and time you want the numbers to be ported in. If you set a defaultPortTime and defaultPortTimeZone in defaults those settings will be used if not set per order. If you haven't set defaults and do not set the time and time zone on the order the system default will be used.
System Default Time: 09:00:00 US/Eastern
The current status of the port order.
| Enum Value | Description |
|---|---|
| ORDER_BUILDING | The order is being created |
| PENDING | The order is pending, and can be updated |
| CONFIRMED | The order is confirmed, and can not be updated but if onDemand is true it can be activated |
| COMPLETED | The order is completed, the port has completed and the numbers are active |
| PENDING_CANCELATION | The order is in the process of being cancelled. During this time you cannot submit the same numbers on a new order |
| CANCELED | The order is cancelled, either by the customer or by the system |
Your reference you specified when creating the order
If you use onDemand activation you will need to make sure the numbers are both confirmed and released for activation, if you don't use onDemand the numbers will be activated on the desiredPortDate is the recommended way. If true the numbers will be activated as when you call :activate, if false they will be activated on the desiredPortDate
Date when the LOA was uploaded. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
Notes if any on the order, you will get notes if there is any problems with the order and you send notes as reply to those problems
Documents if any on the order, you will get documents if there is any problems with the order and you send documents as reply to those problems
When the order was created. Formatted as ISO-8601: YYYY-MM-DDThh:mm:ss.SSSZ.
{ "id": 890192331, "status": "PENDING", "customerOrderReference": "123456", "onDemandActivation": false, "desiredPortSchedule": { "desiredPortDate": "2025-01-31", "desiredPortTime": "09:00:00", "desiredPortTimeZone": "US/Eastern" }, "loaUploadedBy": "john doe", "loaAttachmentDate": "2024-09-24T12:00:00Z", "phoneNumbers": [ { … } ], "notes": [ { … } ], "documents": [ { … } ], "createdDate": "2024-09-24T12:00:00Z", "resellerName": "" }