# Get a Single API Key

GET /api/v1/connect-keys/ {key_id}

Return one API key from the caller's organisation in the same merged shape as the list.

Answers 404 when the organisation has no such key.

Returns 404 if WorkOS doesn't recognise the key. The mirror row may still be present (e.g., revoked-in-WorkOS-but-not-cleaned-up) but we 404 on WorkOS source-of-truth for the secret material.

Path parameters

key_id string Required

Identifier of the API key, as returned in the `id` field when it was created.

Returns

Successful Response

Errors

Status When

422 Validation Error

[Previous ← List API Keys for the Caller's Organisation](https://heyarchie.com/en-gb/developers/api-reference/connect-keys/list-api-keys-for-the-callers-organisation/)[Next Create a New API Key →](https://heyarchie.com/en-gb/developers/api-reference/connect-keys/create-a-new-api-key/)

```
curl https://uk.heyarchie.com/api/v1/connect-keys/<key_id> \
  -H "Authorization: Bearer sk_..."
```

```
import requests

headers = {"Authorization": "Bearer sk_..."}

r = requests.get("https://uk.heyarchie.com/api/v1/connect-keys/<key_id>", headers=headers)
print(r.json())
```

```
const r = await fetch("https://uk.heyarchie.com/api/v1/connect-keys/<key_id>", {
  method: "GET",
  headers: { "Authorization": "Bearer sk_..." },
});
const data = await r.json();
console.log(data);
```

Response

```
{
  "detail": [
    {
      "loc": [
        null
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}
```

Every response also carries X-Request-ID. Quote it if you write to us about a call.
