PUT
/
v1
/
webhooks
cURL
curl --request PUT \
  --url http://localhost/v1/webhooks \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "url": "<string>",
  "eventTypes": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "url": "<string>",
  "secret": "<string>",
  "eventTypes": [
    "<string>"
  ],
  "isActive": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

API Key provided by Eve Admin Portal. Include this header in all authenticated requests.

Body

application/json
url
string
eventTypes
string[]

Response

id
string
url
string
secret
string | null
eventTypes
string[]
isActive
boolean
createdAt
string<date-time>
updatedAt
string<date-time> | null