curl --request PUT \
--url https://app.flowglad.com/api/v1/webhooks/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"webhook": {
"id": "<string>",
"filterTypes": [
"customer.created"
],
"url": "<string>",
"name": "<string>",
"active": true
}
}
'{
"webhook": {
"id": "<string>",
"createdAt": 0,
"updatedAt": 0,
"livemode": true,
"filterTypes": [
"customer.created"
],
"organizationId": "<string>",
"url": "<string>",
"name": "<string>",
"active": true
}
}curl --request PUT \
--url https://app.flowglad.com/api/v1/webhooks/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"webhook": {
"id": "<string>",
"filterTypes": [
"customer.created"
],
"url": "<string>",
"name": "<string>",
"active": true
}
}
'{
"webhook": {
"id": "<string>",
"createdAt": 0,
"updatedAt": 0,
"livemode": true,
"filterTypes": [
"customer.created"
],
"organizationId": "<string>",
"url": "<string>",
"name": "<string>",
"active": true
}
}Show child attributes
The list of event types for which this webhook will receive events.
customer.created, customer.updated, purchase.completed, payment.failed, payment.succeeded, subscription.created, subscription.updated, subscription.canceled Successful response
Show child attributes
Epoch milliseconds.
-9007199254740991 <= x <= 9007199254740991Epoch milliseconds.
-9007199254740991 <= x <= 9007199254740991The list of event types for which this webhook will receive events.
customer.created, customer.updated, purchase.completed, payment.failed, payment.succeeded, subscription.created, subscription.updated, subscription.canceled Was this page helpful?