Renduo
Api referenceTemplates

Get a template

Gets a single template by id, with its version history (active/disabled — pending/failed/draft versions are internal registration states, not included). Required scope: templates:read.

GET
/v1/templates/{id}
AuthorizationBearer <token>

Renduo API key sent as Authorization: Bearer rnd_live_XXXXXXXXXXXX (or rnd_test_... in test mode). See GET /v1/auth/me.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/templates/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "slug": "string",  "name": "string",  "activeVersion": 0,  "createdAt": "2019-08-24T14:15:22Z",  "versions": [    {      "version": 0,      "status": "active",      "createdAt": "2019-08-24T14:15:22Z"    }  ]}
{  "error": "string",  "message": "string",  "details": {},  "requestId": "string"}