Skip to main content
POST
/
admin
/
raffles
/
sync-webflow
Sync raffles from Webflow
curl --request POST \
  --url https://api.sprucecollective.co.uk/admin/raffles/sync-webflow \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "collection_id": "<string>",
  "site_id": "<string>",
  "skip_existing": true,
  "type": "<string>",
  "webflow_token": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Body

application/json

Webflow sync request

Request body for syncing raffles from Webflow

collection_id
string
site_id
string

Required when type == "merch"

skip_existing
boolean

If true, only create new records, skip existing ones

type
string

Optional: "raffles" (default) or "merch"

webflow_token
string

Response

Sync results with created, updated, skipped counts

The response is of type object.