김인턴
APIReferenceTokens

Create an API token

Issues a token to the signed-in member. The `token` field is shown this once and never again.

POST
/tokens

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

text/plain

text/plain

curl -X POST "https://example.com/tokens" \  -H "Content-Type: application/json" \  -d '{}'
{  "token": "string",  "actor": {    "personID": "string",    "email": "[email protected]",    "displayName": "string",    "source": "string",    "scopes": [      "string"    ],    "isAdmin": true  },  "record": {    "id": "string",    "label": "string",    "email": "[email protected]",    "scopes": [      "string"    ],    "createdAt": "2019-08-24T14:15:22Z"  }}