Tokens from a project.
Last tokens.
Name matching tokens.
Token model.
GET /v1/projects/{projectID}/tokens HTTP/1.1 Host: cloud-api.calyptia.com Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "token": "redacted", "name": "my-token", "permissions": [ "create:*" ], "createdAt": "2025-04-24T20:47:14.676Z" } ]
Create token within a project. These tokens are to authorize other applications to access the project. For example:
Create token request body.
new-token
POST /v1/projects/{projectID}/tokens HTTP/1.1 Host: cloud-api.calyptia.com Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 47 { "name": "new-token", "permissions": [ "create:*" ] }
Created
{ "id": "123e4567-e89b-12d3-a456-426614174000", "token": "redacted", "name": "my-token", "permissions": [ "create:*" ], "createdAt": "2025-04-24T20:47:14.676Z" }