Skip to main content
POST
List templates

Restrictions

Usage

  • Pagination defaults to page 1 with 20 rows. The response’s has_next_page tells you whether another page exists without needing a separate count request.
  • When is_my_team is true, team_ids is ignored.

Authorizations

app_key
string
query
required

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

application/json

Paginated list filters. Defaults: p=1, limit=20. Max limit=100.

p
integer
default:1

Page number, starting at 1.

Required range: x >= 1
Example:

1

limit
integer
default:20

Page size. Capped at 100.

Required range: 1 <= x <= 100
Example:

20

orderby
enum<string>

Sort field.

Available options:
created_at,
updated_at
asc
boolean
default:false

Ascending sort order.

is_my_team
boolean
default:false

When true, only return templates scoped to teams the caller belongs to.

team_ids
integer<int64>[]

Filter by specific team IDs.

creator_id
integer<int64> | null

Filter by creator member ID.

query
string

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.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object
required

Paginated template list.