Canned responses
REST reference
Canned Responses API
Saved reply templates (read-only).
List canned responses
GET
/v1/canned_responsesCursor-paginated canned responses, newest first.
Required scope: conversations:read.
Parameters
limitintegerPage size (1–100).
starting_afterstringCursor: the `id` of the last item from the previous page.
Request
curl "https://api.asks.app/v1/canned_responses" \
-H "Authorization: Bearer $ASKS_API_KEY"Response 200
{
"object": "list",
"data": [
{
"object": "canned_response",
"id": "string",
"name": "string",
"content": "string",
"shortcut": {},
"visibility": "personal",
"set_status": {},
"set_priority": {},
"add_tags": [
"string"
],
"usage_count": 1,
"created_at": {}
}
],
"has_more": true,
"next_cursor": {}
}Retrieve a canned response
GET
/v1/canned_responses/{id}Required scope: conversations:read.
Request
curl "https://api.asks.app/v1/canned_responses/<id>" \
-H "Authorization: Bearer $ASKS_API_KEY"Response 200
{
"object": "canned_response",
"id": "string",
"name": "string",
"content": "string",
"shortcut": {},
"visibility": "personal",
"set_status": {},
"set_priority": {},
"add_tags": [
"string"
],
"usage_count": 1,
"created_at": {}
}