Register SIM card
POST/wireless/sim_cards/actions/register
Register a SIM card code.
Request
- application/json
Body
required
SIM card update request
registration_codes string[]
A list of SIM card registration codes.
sim_card_group_id uuid
The SIM card group to which the provided SIM cards should be associated with after registration. If no ID is provided then the SIM cards will be registered to the default SIM card group.
tags string[]
A list of tags to be applied to the SIM cards after registration.
Responses
200: Successful response
- application/json
401: Authentication error
- application/json
403: Authorization error
- application/json
Request samples
curl -L 'https://api.telnyx.com/wireless/sim_cards/actions/register' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"registration_codes": [
"string"
],
"sim_card_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tags": [
"string"
]
}'
Response samples
{
"data": {
"failed_registrations": [
"string"
],
"successful_registrations": [
"string"
]
}
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}