Create a Private Wireless Gateway
Changed onAsynchronously create a Private Wireless Gateway for SIM cards for a previously created network. This operation may take several minutes so you can check the Private Wireless Gateway status at the section Get a Private Wireless Gateway.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/private_wireless_gateways
- Auth: HTTP bearer
Request body
Example request
{
"network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"name": "My private wireless gateway",
"region_code": "dc2",
"address_mode": "static"
}Response
Creation request accepted. Provisioning is asynchronous; poll GET /private_wireless_gateways/{id} with the returned id to check status.
Example response
{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "private_wireless_gateway",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"name": "My private wireless gateway",
"address_mode": "dynamic",
"region_code": "dc2",
"status": {
"value": "provisioning",
"error_description": null,
"error_code": null
},
"ip_range": "100.64.1.0/24",
"assigned_resources": [
{
"record_type": "sim_card_group",
"count": 1
}
]
}
}Changes
- breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info