SIM Cards
Request enabling voice on a SIM card
This API enables voice calling on a SIM card. When a <code>connection_id</code> is provided, the SIM is associated with the specified Mobile Voice Connection. The connection must be owned by the same user and of type <code>mobile_voice</code>.<br/> The API will trigger an asynchronous operation called a SIM Card Action. The status of the SIM Card Action can be followed through the List SIM Card Action API.
post/sim_cards/{id}/actions/enable_voice
Path parameters
idstring uuid required
Example:6a09cdc3-8948-47f0-aa62-74ac943d6c58
Identifies the SIM.
Request body
Example request
{
"connection_id": "123456789"
}Response
Action accepted. The response contains a SIM card action; poll GET /sim_card_actions/{id} with the action id to track progress.
Example response
{
"data": {
"action_type": "enable",
"created_at": "2018-02-02T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sim_card_action",
"settings": {},
"sim_card_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"status": {
"reason": "The data limit was exceeded.",
"value": "completed"
},
"updated_at": "2018-02-02T22:25:27.521Z"
}
}