Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 580 Bytes
title
Authentication

In order to make any Content Management API (CMA) requests, you need to first obtain a full-access API token. To retrieve this API token, enter your project administrative area (ie. http://your-project.admin.datocms.com) and go to the  Settings > API Tokens section:

foo

Once you have the API Token, you need to pass it as a header in each Content Management API request:

curl \
  -H 'Authorization: Bearer YOUR-API-TOKEN' \
  -H 'accept: application/json' \
  https://site-api.datocms.com/site
You can’t perform that action at this time.