Skip to main content
POST
/
incoming-webhook
/
events
Handle published events webhook
curl --request POST \
  --url https://apps-studio.thena.ai/incoming-webhook/events \
  --header 'Content-Type: application/json' \
  --header 'x-bot-key: <x-bot-key>' \
  --data '{
  "event_name": "linear.contact.synced",
  "payload": {}
}'
{
  "success": true,
  "messageId": "12345678-1234-1234-1234-123456789012",
  "timestamp": "2024-02-20T12:00:00Z"
}

Headers

x-bot-key
string
required

Bot Key

Body

application/json
event_name
string
required

Type of the webhook event

Example:

"linear.contact.synced"

payload
object
required

The payload of the webhook event

Example:
{}

Response

Event processed successfully

success
boolean
required

Indicates if the webhook was processed successfully

Example:

true

messageId
string
required

The message ID

Example:

"12345678-1234-1234-1234-123456789012"

timestamp
string
required

Timestamp of when the webhook was processed

Example:

"2024-02-20T12:00:00Z"

I