GET
/
templates
/
{id}
curl --request GET \
  --url https://api.opkit.co/v1/templates/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "schema": {
    "context": [
      {
        "name": "<string>",
        "description": "<string>",
        "items": [
          {
            "name": "<string>",
            "description": "<string>",
            "items": [
              {
                "name": "<string>",
                "description": "<string>",
                "items": [
                  {
                    "name": "<string>",
                    "description": "<string>",
                    "items": [
                      {
                        "name": "<string>",
                        "description": "<string>",
                        "items": [
                          {
                            "name": "<string>",
                            "description": "<string>",
                            "items": [
                              "<any>"
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "objectives": [
      {
        "name": "<string>",
        "description": "<string>",
        "type": "string",
        "enum": [
          "<string>"
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
headerrequired

The Opkit API uses the HTTP Bearer Token scheme for authentication. You should provide your API key in the Authorization header like so: "Authorization: Bearer [api-key]".

Path Parameters

id
string
required

Response

200 - application/json
id
string
required
created_at
string
required
description
string
schema
object
required