curl --request POST \
--url https://api.sprucecollective.co.uk/webflow/webhook \
--header 'Content-Type: application/json' \
--data '
{
"payload": {
"data": {},
"formElementId": "<string>",
"formId": "<string>",
"id": "<string>",
"name": "<string>",
"pageId": "<string>",
"publishedPath": "<string>",
"schema": [
{
"fieldElementId": "<string>",
"fieldName": "<string>",
"fieldType": "<string>"
}
],
"siteId": "<string>",
"submittedAt": "<string>"
},
"triggerType": "<string>"
}
'{}Receives a webhook payload from Webflow form submissions. Checks/creates user, assigns points for the associated raffle, and sends a confirmation email. This endpoint is public and does not require authentication.
curl --request POST \
--url https://api.sprucecollective.co.uk/webflow/webhook \
--header 'Content-Type: application/json' \
--data '
{
"payload": {
"data": {},
"formElementId": "<string>",
"formId": "<string>",
"id": "<string>",
"name": "<string>",
"pageId": "<string>",
"publishedPath": "<string>",
"schema": [
{
"fieldElementId": "<string>",
"fieldName": "<string>",
"fieldType": "<string>"
}
],
"siteId": "<string>",
"submittedAt": "<string>"
},
"triggerType": "<string>"
}
'{}Webflow form submission payload
Show child attributes
Success response with user and raffle info
The response is of type object.