nooks
GitHubInstall
Access tokens

Create access token

CreateAccessToken cuts one. The secret is in the answer and nowhere else, ever.

POST
/api/v1/access-tokens

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/access-tokens" \  -H "Content-Type: application/json" \  -d '{}'
{  "token": {    "uid": "string",    "name": "string",    "abilities": {      "read": true,      "write": true,      "delete": true    },    "listNames": [      "string"    ],    "allLists": true,    "expiresAt": "string",    "lastUsedAt": "string",    "createdAt": "string",    "memberName": "string"  },  "secret": "string"}