v3
latestSwagger 2.02026-08-067506752.0 MBtemplate
Return all templates in the organization paginated
get/v1/org/{orgId}/template
Path parameters
orgIdstring required
Org identifier (either id or slug)
Query parameters
type'DOCUMENT' | 'EMAIL'
Type of template to filter by
fromstring
Template id to start paginating from
limitinteger
Number of results to return
Response
successful operation
Example response
{
"data": [
{
"id": "588f7ee98f138b19220041a7",
"orgId": "588f7ee98f138b19220041a7",
"fileId": "588f7ee98f138b19220041a7",
"fieldId": "588f7ee98f138b19220041a7",
"createId": "588f7ee98f138b19220041a7",
"createBehalfId": "588f7ee98f138b19220041a7",
"createAttribution": {
"principalUserId": "588f7ee98f138b19220041a7",
"agentUserIds": [
"588f7ee98f138b19220041a7"
],
"eventId": "588f7ee98f138b19220041a7",
"aiChatId": "588f7ee98f138b19220041a7"
},
"updateId": "588f7ee98f138b19220041a7",
"updateBehalfId": "588f7ee98f138b19220041a7",
"updateAttribution": {
"principalUserId": "588f7ee98f138b19220041a7",
"agentUserIds": [
"588f7ee98f138b19220041a7"
],
"eventId": "588f7ee98f138b19220041a7",
"aiChatId": "588f7ee98f138b19220041a7"
},
"deleteId": "588f7ee98f138b19220041a7",
"deleteBehalfId": "588f7ee98f138b19220041a7",
"deleteAttribution": {
"principalUserId": "588f7ee98f138b19220041a7",
"agentUserIds": [
"588f7ee98f138b19220041a7"
],
"eventId": "588f7ee98f138b19220041a7",
"aiChatId": "588f7ee98f138b19220041a7"
},
"deleteAt": "2017-01-24T13:57:52Z"
}
],
"access": [
{
"ids": [
"588f7ee98f138b19220041a7"
]
}
]
}