templates
Pull templates for CLI sync
Returns code-pushed templates with their React Email source. With no limit, returns every template in one response (the CLI's push/pull protocol depends on this). Pass limit to opt into cursor pagination — the response then includes nextCursor (null on the last page). source=false omits the source field from every row.
get/v1/templates/pull
Request
- Base URL: https://api.wraps.dev
- URL: https://api.wraps.dev/v1/templates/pull
- Auth: HTTP bearer
Query parameters
limitnumber
Page size. Omit for the legacy unpaginated behaviour the CLI relies on — every template in one response, no nextCursor.
cursorstring
Opaque cursor from a previous page's nextCursor
sourceboolean
Set to false to omit the TSX source from every row (sourceHash still lets a caller diff).
Changes
No recorded changes to this operation across all 1 revision of this API.