List email templates synced from GitHub

Search Documentation

Search across all developer documentation

entities

List email templates synced from GitHub

GET /v1/templates
Auth required templates.view

Returns the org's email templates, sourced from the GitHub repo declared in your sendops.json manifest. This endpoint is read-only — templates are managed by committing changes to the repo. Sorted newest-first. version is the short (7-char) Git commit SHA of the most recent sync.

Query parameters

limit integer optional

Page size (1–200). Default 50.

cursor string optional

Opaque cursor returned from the previous page.

Responses

200 Templates, newest-first application/json
401 Missing, malformed, or unknown API key application/problem+json
403 Key lacks the required scope or plan limit violated application/problem+json
422 Query parameter or path value failed validation application/problem+json
429 Per-org rate limit exceeded application/problem+json
500 Unexpected server-side failure. The code is internal_error. The request_id field can be quoted to SendOps support to investigate. application/problem+json