# Get this key

Tells the key that makes this request its own id, name and role.

`GET /v1/me` on `https://api.eu.vatis.tech`

## Headers

| header | values | default | meaning |
|---|---|---|---|
| `Authorization` | `Bearer <api key>` | required | Your API key ([Authentication and API keys](https://platform.vatis.tech/docs/authentication)). |

## Response fields

| field | when | meaning |
|---|---|---|
| `id` |  | `key_` and 12 hex digits. |
| `name` |  | The key's name. |
| `role` |  | `admin` or `member` ([Roles](https://platform.vatis.tech/docs/authentication#roles)). |

## Responses

`200`: The key.

```json
{
  "id": "key_3f9c1a2b7d4e",
  "name": "crm-backend",
  "role": "member"
}
```

`400` `invalid_parameter`: A query parameter: this endpoint takes none ([Strict parameters](https://platform.vatis.tech/docs/errors#strict-parameters)).

`401` `unauthorized`: No key, or a wrong, revoked or expired one.

```json
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid, revoked or expired key.",
    "param": null,
    "request_id": "req_bf2fed760ba5437ba0933a57"
  }
}
```

`503` `unavailable`: The service is busy for a moment. Send the request again after the seconds of the `Retry-After` header.

## Notes

- Any key may ask, a Member key too.
