List Forward templates under the current account with cursor pagination.
Request headers
|
Header |
Required |
Description |
|
|
Yes |
|
Query parameters
|
Parameter |
Type |
Required |
Default |
Description |
|
|
string |
No |
- |
Filter by |
|
|
integer |
No |
20 |
Items per page. Maximum 100. |
|
|
string |
No |
- |
Cursor for records after the given Template ID. Cannot be used with |
|
|
string |
No |
- |
Cursor for records before the given Template ID. Cannot be used with |
Example request
curl -s -X GET 'https://api.qoder.com.cn/api/v1/forward/templates?status=active&limit=20' \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 200 OK
{
"data": [
{
"type": "template",
"id": "tmpl_support",
"name": "Support assistant",
"description": "Handles pre-sales and after-sales support",
"status": "active",
"created_at": "2026-06-18T10:00:00Z",
"updated_at": "2026-06-18T10:00:00Z"
}
],
"first_id": "tmpl_support",
"last_id": "tmpl_support",
"has_more": false
}
Response fields
|
Field |
Type |
Description |
|
|
array |
Template objects on the current page. |
|
|
string|null |
ID of the first record on this page. |
|
|
string|null |
ID of the last record on this page. |
|
|
boolean |
Whether more records remain. |
Errors
|
HTTP |
Type |
Trigger |
|
400 |
|
Invalid pagination parameters or |
|
401 |
|
PAT invalid or expired. |
|
403 |
|
Not authorized for this resource. |
Notes
-
Results are scoped to the authenticated account.
-
Use
after_idorbefore_idfor cursor pagination, not both.