cURL
curl --request GET \ --url https://api.example.com/v2/sms-templates \ --header 'Authorization: Bearer <token>'
{ "data": [ { "created_at": "2023-11-07T05:31:56Z", "modified_at": "2023-11-07T05:31:56Z", "id": "<string>", "body": "<string>", "character_count": 123, "description": "<string>", "estimated_segment_count": 123, "is_default": true, "name": "<string>", "object": "<string>" } ], "current_page": 0, "total_records": 1, "next_page": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Page number, 0 indexed.
x >= 0
Number of records per page.
1 <= x <= 500
name
created_at
asc
desc
Successful Response
The list of records.
Show child attributes
The current page.
Total number of records.
The next page number, if one exists.