get
Retrieve a specific short code.
Path parameters
id
Unique ID of the short code.
Response
id
The unique identifier of the short code.
name
The name given to the short code.
number
The short code number.
capabilities
The messaging capabilities of the short code.
Allowed values:
number_type
The type of number (always 'shortcode').
Allowed values:
code_type
The type of short code.
Allowed values:
country_code
The ISO 3166-1 alpha-2 country code.
created_at
The date and time when the short code was created.
updated_at
The date and time when the short code was last updated.
next_billed_at
The date and time when the short code will next be billed.
lease_duration
The lease duration of the short code (e.g., '12 months').
message_handler
The message handler type for incoming messages.
Allowed values:
message_request_url
The URL to send message requests to when using laml_webhooks handler.
message_request_method
The HTTP method to use for message requests.
Allowed values:
message_fallback_url
The fallback URL for message requests.
message_fallback_method
The HTTP method to use for fallback requests.
Allowed values:
message_laml_application_id
The ID of the LāML application to handle messages when using laml_application handler.
message_relay_context
The Relay context to use when using relay_context handler.
Response Example
Response