Docs
V2 APIWebsites

Get website content type

GET/api/v2/websites/{website}/content-types/{contentType}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

website*string
Formatuuid
contentType*string

The content type's key, such as team.

Query Parameters

account_id?string

Optional account to run this request against. Defaults to the account the API token is scoped to, so callers with a single account can omit it. Must be an account the authenticated user belongs to; staff may target any account. For write requests the value may be sent in the JSON body instead of the query string. The resolved account is returned on the X-Resi-Account-Id response header.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/websites/497f6eca-6276-4993-bfeb-53cbbbba6f08/content-types/string"
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "key": "string",    "singular": "string",    "plural": "string",    "scope": "account",    "website_id": "9a5872c2-0bf0-4c68-9c27-86a09b05bf66",    "url_pattern": "string",    "template": "string",    "schema_type": "string",    "requires_approval": true,    "expiry_field": "string",    "list_columns": [      "string"    ],    "default_sort": "string",    "icon": "string",    "is_enabled": true,    "fields": [      {        "key": "string",        "label": "string",        "type": "string",        "required": true,        "help": "string",        "options": {          "property1": "string",          "property2": "string"        },        "conditions": {},        "fields": [          {}        ]      }    ],    "json_schema": {},    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}