Authorizations
Body
application/json
curl --request POST \
--url https://app.flowglad.com/api/v1/webhooks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"webhook": {
"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
},
"secret": "<string>"
}
curl --request POST \
--url https://app.flowglad.com/api/v1/webhooks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"webhook": {
"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
},
"secret": "<string>"
}
Show child attributes
Was this page helpful?