Webhooks

Get webhook

Retrieve the current user's webhook configuration. The secret is not returned here; use PUT /webhooks to rotate the secret.

GET
/webhooks

Authorization

token_auth
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

Response Body

application/json

application/json

curl -X GET "https://v2.api.piktid.com/webhooks"
{
  "id": 0,
  "url": "string",
  "secret": null,
  "is_active": true,
  "created_at": "string",
  "updated_at": "string",
  "last_response_status": null,
  "last_response_at": null
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty