templates list
GET {{baseUrl}}/templates
Returns a list of Template
objects.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
created_after | string | If provided, will only return objects created after this datetime. | |
created_before | string | If provided, will only return objects created before this datetime. | |
cursor | string | The pagination cursor value. | |
include_deleted_data | boolean | Whether to include data that was marked as deleted by third party webhooks. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. | |
modified_after | string | If provided, will only return objects modified after this datetime. | |
modified_before | string | If provided, will only return objects modified before this datetime. | |
page_size | number | Number of results to return per page. | |
remote_id | string | The API provider's ID for the given object. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"next":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous":"cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results":[{"name":"Welcome Email Template","type":"EMAIL","contents":"Welcome onboard! Stay connected and find out more.","owner":"urn:uuid:9545c2f4-f703-e8a0-e42f-d170fb4a7f90","remote_created_at":"2022-12-23T00:00:00Z","remote_updated_at":"2022-12-23T00:00:00Z","id":"91ca77eb-4d7e-2fc0-c00c-2fe33a250515","remote_id":"40"},{"name":"Welcome Email Template","type":"EMAIL","contents":"Welcome onboard! Stay connected and find out more.","owner":"urn:uuid:731f37e2-1251-61ab-80fc-edc789f95cf9","remote_created_at":"2022-12-23T00:00:00Z","remote_updated_at":"2022-12-23T00:00:00Z","id":"8f671626-a817-f209-7ef9-f00d10c5cbc8","remote_id":"40"}]}