Get a Document Collection template
Vorschauget
https://api.expiryedge.com/v2/collection-templates/{id}any member of the template's organization60/min
Anfrage
curl 'https://api.expiryedge.com/v2/collection-templates/tem_123' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Antwort
{
"id": "tem_123",
"organization_id": "org_123",
"name": "Example name",
"description": "string",
"status": "active",
"pages": [
{
"id": "tem_123",
"title": "string",
"order": 1,
"description_html": "string",
"sections": [
{
"id": "tem_123",
"title": "string",
"order": 1,
"description_html": "string",
"fields": []
}
]
}
],
"intro_email": {},
"schema_version": 1,
"created_by": "string",
"created_by_name": "Example name",
"created_at": "2026-09-27T14:05:00.000Z",
"updated_at": "2026-09-27T14:05:00.000Z"
}The whole pages tree as stored.
idstringerforderlich
200
The template.
idstringorganization_idstringnamestringdescriptionstringstatusstringErlaubtactivearchivedrequest_draftrequest_sentpagesarray of objectsintro_emailobject | nullschema_versionintegercreated_bystringcreated_by_namestringcreated_atstringUTC timestamp, ISO 8601. Every v1 response uses this form, never a raw Firestore Timestamp ({_seconds, _nanoseconds}).format: date-timeupdated_atstringUTC timestamp, ISO 8601. Every v1 response uses this form, never a raw Firestore Timestamp ({_seconds, _nanoseconds}).format: date-time
401 | Missing, invalid or expired token ( UNAUTHORIZED). |
403 | Your role can't do this, or your account has no organization ( FORBIDDEN). |
404 | No such record in your organization (records in other organizations are also 404). |
405 | Wrong HTTP method for this path; the Allow header lists the valid ones. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
