Generating API Tokens

API tokens are used to authenticate kintone REST API requests that are sent from external programs.
Specifying an API token for the "X-Cybozu-API-Token" header of a request authenticates the request and executes the API. You can also specify a comma-separated list of multiple API tokens.

Example of a request that uses an API token:
GET /k/v1/record.json?app=7&id=100 HTTP/1.1
Host: example.cybozu.com:443
X-Cybozu-API-Token:cJrAD9Es62qm0Z3eE6uzQQmaDxM3q9jiDay1oysX
Example of looking up a customer name using multiple API tokens:
curl -X POST -H "X-Cybozu-API-Token: cJrAD9Es62qm0Z3eE6uzQQmaDxM3q9jiDay1oysX, 6oDAV8hCY6HTa1AC6EZbNe2dpc1t8QnWZrHOMgMb" "https://subdomain name.cybozu.com/k/v1/record.json" -H "Content-Type: application/json" -d '{app: 20, record: {"Customer Name": {value: "kintone Research"}}}'

For details on authentication that uses API tokens, see "User Authentication" on the following page:
Common Specifications of REST API (cybozu developer network)

Steps to Generate API Tokens

  1. Click the app setting button Setting button on the upper right of the record view, select "App Settings" tab > "Customization and Integration", and then select API Token.

  2. Click "Generate". Image

  3. Select the check boxes of actions to be allowed for the generated API token. Image

  4. Click "Save" on the upper left side of the screen.

  5. Click "Update App" on the upper right side of the screen.