Skip to main content

Managing endpoints

Create:
  • The URL must be https and publicly reachable. Private and loopback addresses are rejected.
  • agent_ids limits the endpoint to calls made by those agents. Omit it to receive events for every call in your organization, including calls started from the Contour dashboard. Use the source field on the call object to tell them apart.
  • secret appears in this response and in rotate-secret only. Store it in your webhook handler’s configuration.

Events

Request format

The call key is the full call object.
Respond with any 2xx within 10 seconds. The body is ignored. Do your real work after responding, or in a queue: a slow handler looks like a failure to us and gets retried.
Webhook requests do not carry your API key. They are authenticated by the signature header instead. See Verifying signatures.