Show examples in:
JavascriptHTTP
Dashboard API > OAuth application

OAuth application

Warning: Experimental API

Please note that the Dashboard API is an experimental, prerelease API. This API method is considered unstable, and should be avoided in production environments and automations. Changes may occur at any time without warning.

An OAuth application that allows access to our API from third party services.

Object payload

idstring

ID of access_token

Example:"312"
typestring

Must be exactly "oauth_application".

namestring

Name of application. For an MCP client that DatoCMS cannot verify, the name carries a warning and the host that identifies the client, e.g. "ChatGPT (unverified · evil.example)"

Example:"Netlify OAuth application"
created_atdate-time

Date of token creation

Example:"2018-11-20 12:06:49.803166"
site_access_modeenum

Whether the application can access all projects or only selected ones

Example:"all"
all

The application can access all projects

selected

The application can only access selected projects

read_sites_permission_capenum

The level of access the account granted to the application, on top of its own permissions. Read-only: it is picked when authorizing the application, and changing it means authorizing the application again

Example:"unrestricted"
content_view_only

The application can only read content and media

content_only

The application can read and edit content and media, but not schema, settings, users or API tokens

unrestricted

The application can do anything the account can do

mcp_clientobject, null

Details of an MCP client application (for example ChatGPT, Claude or Cursor), which has its own projects and level of access. Null for any other application

raw_namestring

Name of the MCP client, without the note that name adds when DatoCMS cannot verify the client

Example:"ChatGPT"
registrationenum

How the MCP client obtained its application

Example:"cimd"
cimd

The MCP client identifies itself with a client ID metadata document

dcr

The MCP client registered itself dynamically (RFC 7591)

trust_levelenum

How much DatoCMS trusts the identity of the MCP client

Example:"verified"
verified

DatoCMS verifies who the MCP client is

local

DatoCMS cannot verify the MCP client, but the client receives access only on the account's computer (a loopback address or a known native app)

unverified

DatoCMS cannot verify the MCP client, and the client can receive access on another host

granted_sites

Projects the application has been granted access to (only relevant when site_access_mode is 'selected')

Type:Array&#x3C;<a href="/docs/content-management-api/resources/site">ResourceLinkage&#x3C;"site"></a>>

Available endpoints