Skip to content

Remove the webhook

DELETE /users/me/webhook

https://api.voygr.tech/users/me/webhook

Open in playground

Overview

Remove the registered URL and its secret. Mid-call questions then arrive on GET /calls/{call_id}/events and in pending_questions on GET /calls/{call_id}. Afterwards ask_user_webhook_url and ask_user_webhook_configured on GET /users/me read back as null and false. Clearing a webhook that was not set is not an error.

Authentication

  • API key in header X-API-Key: Your customer API key (pk_live_...), sent on every request. Self-serve at https://api.voygr.tech/checkout.

Responses

200

Cleared.

application/json

Schema: ClearWebhookResponse

cleared

{
  "cleared": true
}

401

Missing or invalid X-API-Key.

application/json

X-API-Key header absent

{
  "detail": {
    "error": "API key required"
  }
}

X-API-Key doesn't resolve to an active key

{
  "detail": {
    "error": "invalid API key"
  }
}

Schemas

ClearWebhookResponse

Type: object

DELETE /users/me/webhook success body.

FieldTypeRequiredDescription and constraints
clearedbooleanoptionalAlways true. Clearing a webhook that was not set is not an error.
default True
Example: true