Retrieve a list of published ATS email templates
Lists the published email templates of the organization. Use it to see which templates exist, or to keep a local copy in sync by fetching only those updated since your last check. Drafts and template bodies are not included.
Token scopes: ats:read, worker:read
Authentication
AuthorizationBearer
Authentication
The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.
curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
-H 'Authorization: Bearer YOUR-TOKEN-HERE'
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/
Query parameters
cursor
Cursor for pagination. Use the nextCursor value from the previous response to get the next page of results.
limit
Maximum number of email templates to return per page
updated_after
Return only email templates that were updated after this timestamp (ISO 8601 format)
Response
Successfully retrieved email templates
data
Page of email templates.
has_more
Whether more pages are available.
next_cursor
Cursor to fetch the next page; null when there are no more pages.
total_count
Total number of email templates matching filters.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error