---
title: "Get push event keys"
url: https://hexelstudio.com/docs/api/titan-user/person/push-keys
---

# Get push event keys

**GET** `/titan/user/push-keys`

The deployment's push event keys, a JWKS of Ed25519 (OKP) keys, served without a token: the customer's backend verifies push events with them. An event is a compact JWS with header exactly {alg: EdDSA, kid, typ: titan-push-event+jwt} over {iss: urn:titan:person-devices:<deployment>, aud: the app_id, sub: the person, approval_id, device_id, iat, exp (iat + 300), jti (the same on every attempt of one push)}, POSTed to the app's webhook as application/jwt. NOT_FOUND unless push delivery is on for the deployment and it has a push event key (a deployment with only direct-mode apps, needs none), or approval routing sends approval webhooks for it: the same keys sign those, a compact JWS with header exactly {alg: EdDSA, kid, typ: titan-approval-event+jwt} over {iss: urn:titan:approval-events:<deployment>, aud: the webhook URL, sub: the approver, iat, exp (iat + 300), jti (the event's event_id), event: the version 1 approval event}; the deployment is the one the host pins or Titan-Enforcement-Deployment names.

## Headers

- `Authorization: string`

  `Bearer <token>`. The person's user-route token: a user access token from the deployment's identity provider for an audience only the person routes accept, carrying their use claim. The Gateway verifies it; the edge does not. A session's token is refused here, and a user-route token is refused as a session's. Served only while the deployment turns the person routes on; NOT_FOUND otherwise.

## Returns

`200` Successful response; exact status varies by operation. (`object`)

- `keys: array of object`

  - `alg: string`

    One of: `"EdDSA"`

  - `crv: string`

    One of: `"Ed25519"`

  - `kid: string`

  - `kty: string`

    One of: `"OKP"`

  - `use: string`

    One of: `"sig"`

  - `x: string`

## Errors

- `default` Rejected request.

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/user/push-keys' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "keys": [
    {
      "alg": "EdDSA",
      "crv": "Ed25519",
      "kid": "string",
      "kty": "OKP",
      "use": "sig",
      "x": "string"
    }
  ]
}
```

### Response (default)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```
