List templates
Return a paginated list of notification templates.
Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Templates Read (on-call) or Templates Manage (on-call) |
Usage
- Pagination defaults to page 1 with 20 rows. The response’s
has_next_pagetells you whether another page exists without needing a separate count request. - When
is_my_teamistrue,team_idsis ignored.
Authorizations
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Paginated list filters. Defaults: p=1, limit=20. Max limit=100.
Page number, starting at 1.
x >= 11
Page size. Capped at 100.
1 <= x <= 10020
Sort field.
created_at, updated_at Ascending sort order.
When true, only return templates scoped to teams the caller belongs to.
Filter by specific team IDs.
Filter by creator member ID.
Regex or substring match on template_name.
Response
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.