Skip to main content
POST
/
api
/
v1
/
webhooks
Create a new webhook
curl --request POST \
  --url https://api.g-tateth.com/api/v1/webhooks \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "headers": {},
  "retryPolicy": {
    "maxRetries": 123,
    "backoffStrategy": "linear"
  }
}
'

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer sk_live_... or Bearer sk_test_...

Body

application/json
name
string
required
Required string length: 1 - 100
url
string<uri>
required
events
string[]
required
headers
object
retryPolicy
object

Response

201

Webhook created successfully