Show examples in:
JavascriptHTTP
Dashboard API > Project

Project

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.

A project represents a specific DatoCMS administrative area

Object payload

idstring

ID of site

Example:"155"
typestring

Must be exactly "site".

attributes.namestring

Site name

Example:"My blog"
attributes.domainstring, null

Site domain

Example:"admin.foobar.com"
attributes.internal_domainstring

Internal project domain

Example:"clueless-star-1231.admin.datocms.com"
attributes.last_data_change_at

Specifies the last time when a change of data occurred

Type:null, date-time
attributes.access_tokennull, string

Access token

attributes.created_at

Date of project creation

Type:null, date-time
attributes.deactivatedboolean

Status of project according to billing situation

attributes.internal_subdomainstring

Internal project subdomain

Example:"clueless-star-1231"
attributes.is_public_templateboolean

Whether the project can be used as a public template

attributes.statusenum

Status of the project

Example:"ready"
creating

The project is being forked

ready

The project is ready

destroying

The project is being destroyed

meta.last_data_change_at

Specifies the last time when a change of data occurred

Type:null, date-time
Example:"2017-03-30T09:29:14.872Z"
meta.created_at

The creation date of the site

Type:null, date-time
Example:"2017-03-30T09:29:14.872Z"
meta.deactivatednull, boolean

True when the site has been deactivated

meta.statusstring

Site status

meta.ownerobject
meta.require_2faboolean

True if the site requires 2FA to enter

relationships.active_subscription.data
Type:null, <a href="/docs/content-management-api/resources/site_subscription">ResourceLinkage&#x3C;"site_subscription"></a>
relationships.active_plan.data
Type:null, <a href="/docs/content-management-api/resources/site_plan">ResourceLinkage&#x3C;"site_plan"></a>
relationships.transfer.data
Type:<a href="/docs/content-management-api/resources/site_transfer">ResourceLinkage&#x3C;"site_transfer"></a>, null
attributes.readwrite_tokennull, stringDeprecated

Read-write API token

Built-in factory tokens are deprecated. To get a token for this project, list its API tokens and pick one with the role you need.

attributes.readonly_tokennull, stringDeprecated

Read-only API token

Built-in factory tokens are deprecated. To get a token for this project, list its API tokens and pick one with the role you need.

Available endpoints