List short codes
Authentication
Query parameters
Token for cursor-based pagination.
Token for cursor-based pagination.
Lists the messaging Short Codes connected to your SignalWire project. These leased codes can send and receive high-volume messages through their configured handlers. Standard long-code phone numbers are available through List phone numbers. Results are sorted by creation date, most recent first.
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example: