> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trypost.it/llms.txt
> Use this file to discover all available pages before exploring further.

# List API keys

> List your Personal Access Tokens scoped to the current workspace, latest first. Returns a plain array (no pagination).

## Response

Plain array of API key objects. The plain token value is only shown once at creation — these objects are metadata only.

<Note>
  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.
</Note>

<ResponseField name="id" type="string">
  API key UUID.
</ResponseField>

<ResponseField name="name" type="string">
  API key label.
</ResponseField>

<ResponseField name="last_used_at" type="string">
  ISO 8601 timestamp of the last time this key authenticated a request. `null` if never used.
</ResponseField>

<ResponseField name="expires_at" type="string">
  ISO 8601 expiration timestamp. `null` if the key does not expire.
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO 8601 creation timestamp.
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X GET https://app.trypost.it/api/api-keys \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  [
    {
      "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"
    }
  ]
  ```
</ResponseExample>
