---
search:
  tags:
    - Identity
    - GET
seo:
  description: >-
    Returns the credential that made the request (never its secret) and its
    workspace. A free call… Reference for the GET /me endpoint in the Zaraftis
    Public API.
sidebar:
  label: Get the current credential
  badge: GET
title: Get the current credential
type: openapi-operation
---
Returns the credential that made the request (never its secret) and its workspace. A free call that is useful to check that a key works.

`GET /me`

**Responses**

- `200` — Credential identity (never the secret material) with workspace reference

Response example, 200:

```json
{
  "success": true,
  "data": {
    "credential": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "kind": "api_key",
      "name": "string",
      "scopes": [
        "brands:read"
      ],
      "brand_allowlist": [
        "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      ]
    },
    "workspace": {
      "organization_id": "string"
    }
  },
  "request_id": "string"
}
```
