Connection
Create Webhook
Connection
Create Webhook
Create a new webhook for a given connection
curl --request POST \
--url https://app.vessel.dev/connection/webhook \
--header 'vessel-api-token: <vessel-api-token>' \
--header 'x-vessel-api-token: <x-vessel-api-token>'
curl --request POST \
--url https://api.vessel.land/connection/webhook \
--header 'Content-Type: application/json' \
--header 'vessel-api-token: ' \
--data '{
"accessToken": "string",
"webhook": {
"webhookUrl": "https://acme.com/webhook"
}
}'
Authorizations
vessel-api-token[header]required
string
Body
accessToken
string
webhook
object
Information describing a webhook
Response
webhook
object
WebhookMetadata
curl --request POST \
--url https://api.vessel.land/connection/webhook \
--header 'Content-Type: application/json' \
--header 'vessel-api-token: ' \
--data '{
"accessToken": "string",
"webhook": {
"webhookUrl": "https://acme.com/webhook"
}
}'