curl --request GET \
--url https://api.sprucecollective.co.uk/raffles/user-entries \
--header 'Authorization: <api-key>'{
"entries": [
{
"admin_grant_entries": 123,
"admin_grant_transaction_ids": [
"<string>"
],
"all_transaction_ids": [
"<string>"
],
"all_wf_form_ids": [
"<string>"
],
"created_at": "<string>",
"email": "<string>",
"free_entries": 123,
"item_id": "<string>",
"paid_entries": 123,
"paid_transaction_ids": [
"<string>"
],
"point_entries": 123,
"raffle_id": "<string>",
"raffle_name": "<string>",
"total_entries": 123,
"user_id": "<string>",
"webflow_entries": 123
}
],
"has_more": true,
"page": 123,
"page_size": 123,
"total": 123
}Get all user entries for raffles from the raffle_user_entries view (admin only)
curl --request GET \
--url https://api.sprucecollective.co.uk/raffles/user-entries \
--header 'Authorization: <api-key>'{
"entries": [
{
"admin_grant_entries": 123,
"admin_grant_transaction_ids": [
"<string>"
],
"all_transaction_ids": [
"<string>"
],
"all_wf_form_ids": [
"<string>"
],
"created_at": "<string>",
"email": "<string>",
"free_entries": 123,
"item_id": "<string>",
"paid_entries": 123,
"paid_transaction_ids": [
"<string>"
],
"point_entries": 123,
"raffle_id": "<string>",
"raffle_name": "<string>",
"total_entries": 123,
"user_id": "<string>",
"webflow_entries": 123
}
],
"has_more": true,
"page": 123,
"page_size": 123,
"total": 123
}Type "Bearer" followed by a space and JWT token.
Page number
Page size
Filter by raffle ID
Filter by item ID
Filter by user ID
Filter by user email (partial match)
Filter by raffle name (partial match)
Filter by payment status (true/false). True returns entries with paid_entries > 0, false returns entries with paid_entries = 0
Filter entries created after this date (ISO 8601 format: 2023-01-01T00:00:00Z)
Filter entries created before this date (ISO 8601 format: 2023-01-01T00:00:00Z)
Filter entries created within the last X days
OK
Show child attributes