Authentication
Generate an API token. Should be done from the GenPage dashboard.
Changed onThis 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
- Base URLhttps://backend.genpage.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Zapier production",
"workspace_id": 55
}Response
Example response
{
"token": "sk-proj-<Bearer token>"
}Changes
- info
added the non-success response with the status
- info