Reveal a signing secret

Returns the endpoint’s signing secret. Needs write access (data:write), like creating or rotating one, because the secret lets its holder sign webhooks.

POST
/settings/webhooks/secret
Serverhttps://api.medialit.cloud
Authentication
Body

Authentication

  • Bearer token (JWT)

  • Or API key in the x-medialit-apikey header

Request body

application/json
required
  • idstring
    required

Responses

200
The signing secret
  • idstring
    required
  • secretstring
    required
400
Bad Request
  • errorstring
    required
401
Unauthorized
  • errorstring
    required
403
Forbidden
No response body.
404
Not Found
  • errorstring
    required
500
Internal Server Error
  • errorstring
    required