Skip to Content
Open Retainer
Schema

List workspace templates

GET
/v1/templates

Requires the read scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Response Body

Successful response.

application/json
  1. response
templates*array<>
Example Request
curl -X GET 'https://retainer.tamloot.cc/v1/templates' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'
Example Response
{  "templates": [    {      "name": "string",      "version": -9007199254740991,      "label": "string",      "description": "string",      "applied": true,      "adds": {        "objects": [          {            "name": "string",            "fields": [              "string"            ]          }        ],        "fields": [          {            "object": "string",            "field": "string"          }        ]      }    }  ]}