Skip to main content

Overview

Update an existing event. Only pending events can be updated.

Parameters

string
required
The UUID of the event to update.
string
required
The full URL of the webhook endpoint to call. Must be a valid HTTP/HTTPS URL.
string
HTTP method to use for the webhook request. Options: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS. Defaults to POST.
string
required
ISO 8601 timestamp when the event should execute. Must be in the future.
object | null
Custom headers to include in the webhook request. Object with string keys and values.
object | null
Payload to send with the webhook request. Can be any JSON-serializable object.
object | null
Retry configuration for failed webhook attempts.

Response

Event
required
The updated event object.

Errors

Only pending events can be updated. Events that are processing, successful, or failed cannot be updated.
  • NotFoundError: If the event doesn’t exist
  • BadRequestError: If the event is not in pending status
  • ValidationError: If the update data is invalid (e.g., scheduled_at is in the past)
  • UnauthorizedError: If API key is invalid or missing

Examples

Update Event Schedule