Documentation

Get webhook signing secret

GET
/v1/account/webhooks/secret

Authorization

bearerAuth
AuthorizationBearer <token>

Authenticate using an API Key:

Authorization: Bearer rk_live_your-api-key

In: header

Response Body

application/json

application/problem+json

curl -X GET "https://api.routeany.com/v1/account/webhooks/secret"
{
  "key": "whsec_abc123...",
  "masked": "whsec_abc1**********",
  "created_at": "2019-08-24T14:15:22Z",
  "previous_key_expires_at": "2019-08-24T14:15:22Z"
}
{
  "type": "https://api.routeany.com/errors/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "Invalid or missing API key",
  "code": "AUTH_INVALID_TOKEN"
}