Webhooks

Create webhook

post/webhooks

Request body

urlstring uri required

HTTPS URL

eventTypesEventType[] required

Array of event types to subscribe to.

Example request

{
  "url": "https://example.com/webhook",
  "eventTypes": [
    "tweet.new",
    "tweet.reply"
  ]
}

Response

Webhook created

idstring required
urlstring uri required
secretstring required
eventTypesEventType[] required

Array of event types to subscribe to.

createdAtstring date-time required

Example response

{
  "id": "42",
  "url": "https://example.com/webhook",
  "secret": "whsec_abc123def456",
  "eventTypes": [
    "tweet.new",
    "tweet.reply"
  ],
  "createdAt": "2025-01-15T12:00:00Z"
}

Changes