Get Template
GET /v2/partner/templates/{id}
Required scopes
partner:templates:read
Tokens missing any required scope return 401 scope_missing.
See Auth & Scopes for issuance.
Operation
| Operation ID | getTemplate |
| Tags | Campaigns |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| id * | path | id |
Responses
200
OK
object
| Field | Type | Description |
|---|---|---|
| id * | id | UUID v4. |
| type * | enum (1) | template |
| team_id * | id | UUID v4. |
| name * | string | |
| use_case | string | |
| status * | enum (6) | draftscheduledlaunchedpausedarchivedexpired |
| is_archived * | boolean | |
| is_locked * | boolean | |
| inserted_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
| updated_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
| launched_at | updated_at | RFC 3339 / ISO 8601 timestamp. |
| archived_at | updated_at | RFC 3339 / ISO 8601 timestamp. |
| deadline_at | updated_at | RFC 3339 / ISO 8601 timestamp. |
| objective_ids * | id[] | |
| page_ids * | id[] | |
| message_ids * | id[] |
404
Resource not found (or not visible to token).
schema
Example request
GET https://api.digitalonboarding.com/v2/partner/templates/{id}
Authorization: Bearer <partner-token>