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

To communicate with the GraphQL server, you'll need an API token. To start, you can find your read-only API token in the Settings > API tokens section of your administrative area:

foo

Restricting access

If you want to restrict GraphQL access only to a selection of your DatoCMS models, you can generate a custom API token. To do that, first go to Settings > Roles and create a new role, specifying the models to whitelist:

foo

You can then create a new API token associating it with the role you just created:

foo

You can’t perform that action at this time.