Inbox
Canned Responses
List, get, and create canned responses, the reusable reply templates for Inbox conversations.
Canned responses are reusable reply templates that help your team respond to conversations quickly and consistently.
List Canned Responses
Retrieve all canned responses for the account.
GET /v2/canned-response
Parameters
Prop
Type
See Pagination for shared behavior.
Example Request
curl -X GET "https://api.oktopost.com/v2/canned-response" \
-u ACCOUNT_ID:API_KEYExample Response
{
"Result": true,
"Items": [
{
"ID": "cnr000000000001",
"Name": "Welcome Reply",
"Content": "Thanks for reaching out. How can we help you today?",
"Visibility": "shared",
"Created": "2025-01-15 08:30:00",
"Modified": "2025-01-15 08:30:00",
"Deleted": "3999-12-31 23:59:59",
"AccountID": "001000000000001",
"CreatedBy": {
"Id": "00A000000000001",
"Name": "Jane Smith",
"Email": "jane@example.com"
},
"ModifiedBy": null,
"EditDate": "2025-01-15 08:30:00"
},
{
"ID": "cnr000000000002",
"Name": "Follow-up",
"Content": "Just checking in. Were we able to resolve your question?",
"Visibility": "private",
"Created": "2025-02-20 14:00:00",
"Modified": "2025-02-20 14:00:00",
"Deleted": "3999-12-31 23:59:59",
"AccountID": "001000000000001",
"CreatedBy": {
"Id": "00A000000000001",
"Name": "Jane Smith",
"Email": "jane@example.com"
},
"ModifiedBy": null,
"EditDate": "2025-02-20 14:00:00"
}
],
"Total": 2
}Get Canned Response
Retrieve a single canned response by ID.
GET /v2/canned-response/:cannedResponseId
Parameters
Prop
Type
Example Request
curl -X GET "https://api.oktopost.com/v2/canned-response/cnr000000000001" \
-u ACCOUNT_ID:API_KEYExample Response
{
"Result": true,
"CannedResponse": {
"ID": "cnr000000000001",
"Name": "Welcome Reply",
"Content": "Thanks for reaching out. How can we help you today?",
"Visibility": "shared",
"Created": "2025-01-15 08:30:00",
"Modified": "2025-01-15 08:30:00",
"Deleted": "3999-12-31 23:59:59",
"AccountID": "001000000000001",
"CreatedBy": {
"Id": "00A000000000001",
"Name": "Jane Smith",
"Email": "jane@example.com"
},
"ModifiedBy": null,
"EditDate": "2025-01-15 08:30:00"
}
}Create Canned Response
Create a canned response.
POST /v2/canned-response
If a canned response with the same name already exists, the request returns 409.
Parameters
Prop
Type
Example Request
curl -X POST "https://api.oktopost.com/v2/canned-response" \
-u ACCOUNT_ID:API_KEY \
-d name="Pricing Inquiry" \
-d content="Thanks for your interest. I'd be happy to walk you through our plans." \
-d visibility="shared"Example Response
{
"Result": true,
"CannedResponse": {
"ID": "cnr000000000003",
"Name": "Pricing Inquiry",
"Content": "Thanks for your interest. I'd be happy to walk you through our plans.",
"Visibility": "shared",
"Created": "2025-03-30 11:00:00",
"Modified": "2025-03-30 11:00:00",
"Deleted": "3999-12-31 23:59:59",
"AccountID": "001000000000001",
"CreatedBy": {
"Id": "00A000000000001",
"Name": "Jane Smith",
"Email": "jane@example.com"
},
"ModifiedBy": null,
"EditDate": "2025-03-30 11:00:00"
}
}