Get SIM card action details
GET/sim_card_actions/:id
This API fetches detailed information about a SIM card action to follow-up on an existing asynchronous operation.
Request
Path Parameters
id uuidrequired
Identifies the resource.
Responses
200: Successful Response
- application/json
401: Unauthorized
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/sim_card_actions/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "sim_card_action",
"sim_card_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"action_type": "enable",
"status": {
"value": "completed",
"reason": "The data limit was exceeded."
},
"settings": {},
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}