Skip to main content
GET
/
api-keys
curl -X GET https://app.trypost.it/api/api-keys \
  -H "Authorization: Bearer YOUR_API_KEY"
[
  {
    "id": "f6a7b8c9-d0e1-2f3a-4b5c-6d7e8f9a0b1c",
    "name": "Production",
    "last_used_at": "2025-01-14T12:00:00+00:00",
    "expires_at": null,
    "created_at": "2025-01-01T00:00:00+00:00"
  }
]

Response

Plain array of API key objects. The plain token value is only shown once at creation — these objects are metadata only.
The list is scoped to the calling user in the current workspace. Tokens created by other workspace members are not returned, even though they may have access to the same workspace.
id
string
API key UUID.
name
string
API key label.
last_used_at
string
ISO 8601 timestamp of the last time this key authenticated a request. null if never used.
expires_at
string
ISO 8601 expiration timestamp. null if the key does not expire.
created_at
string
ISO 8601 creation timestamp.
curl -X GET https://app.trypost.it/api/api-keys \
  -H "Authorization: Bearer YOUR_API_KEY"
[
  {
    "id": "f6a7b8c9-d0e1-2f3a-4b5c-6d7e8f9a0b1c",
    "name": "Production",
    "last_used_at": "2025-01-14T12:00:00+00:00",
    "expires_at": null,
    "created_at": "2025-01-01T00:00:00+00:00"
  }
]