Authentication

Generate an API token. Should be done from the GenPage dashboard.

This endpoint returns the generated token to be used in the external integration. The token is bound to the workspace it was generated for and cannot be used against any other workspace. It never expires; delete it to revoke access.

post/api/external/v1/generate-api-token

Request body

namestring required

A label for the key, shown in the dashboard.

workspace_idinteger required

The workspace the key may act on.

Example request

{
  "name": "Zapier production",
  "workspace_id": 55
}

Response

tokenstring

Example response

{
  "token": "sk-proj-<Bearer token>"
}

Changes