Guests
Register a guest
Registers a new guest or confirms an existing guest through a public form submission.
POST
/
v1
/
guests
/
register
Copy
curl --request POST \
--url https://{workspace}.attendu.com/api/v1/guests/register \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"eventId": "<string>",
"formData": {
"properties": {
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"lang": "<string>"
},
"partners": 1,
"givenConsents": [
"<string>"
]
},
"guestId": "<string>",
"pageId": "<string>"
}'
Copy
{
"_id": "<string>",
"event": "<string>",
"confirmedAt": "2023-11-07T05:31:56Z",
"attendedAt": "2023-11-07T05:31:56Z",
"starred": false,
"status": {
"confirmation": 2,
"attendance": 1,
"declineMessage": null,
"givenConsents": [],
"visitedZones": [],
"addMethod": "publicRegistration",
"checkInMethod": "qrScan"
},
"properties": {
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com",
"lang": "en",
"X62TkjiV": "My custom note",
"yN9hzaCj": "1QLXYBlw",
"Ybb48GO7": [
"7bR7m2au",
"BdwYyYmi"
],
"ticketType": "QF78tnh3"
},
"extras": {
"roommates": [
"507f1f77bcf86cd799439011",
"507f191e810c19729de860ea"
],
"payment": {
"isPaid": true,
"paidAt": "2023-04-15T14:30:00Z",
"stripePaymentIntent": "pi_3RJut1234567890",
"stripeInvoice": "in_1RJutEIz1234567890",
"usedPromoCodes": [
{
"id": "43oMGCex",
"amount": 100,
"code": "U2QWC8"
}
]
}
}
}
Authorizations
Body
application/json
Response
200
application/json
Guest registered successfully.
The response is of type object
.
Copy
curl --request POST \
--url https://{workspace}.attendu.com/api/v1/guests/register \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"eventId": "<string>",
"formData": {
"properties": {
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"lang": "<string>"
},
"partners": 1,
"givenConsents": [
"<string>"
]
},
"guestId": "<string>",
"pageId": "<string>"
}'
Copy
{
"_id": "<string>",
"event": "<string>",
"confirmedAt": "2023-11-07T05:31:56Z",
"attendedAt": "2023-11-07T05:31:56Z",
"starred": false,
"status": {
"confirmation": 2,
"attendance": 1,
"declineMessage": null,
"givenConsents": [],
"visitedZones": [],
"addMethod": "publicRegistration",
"checkInMethod": "qrScan"
},
"properties": {
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com",
"lang": "en",
"X62TkjiV": "My custom note",
"yN9hzaCj": "1QLXYBlw",
"Ybb48GO7": [
"7bR7m2au",
"BdwYyYmi"
],
"ticketType": "QF78tnh3"
},
"extras": {
"roommates": [
"507f1f77bcf86cd799439011",
"507f191e810c19729de860ea"
],
"payment": {
"isPaid": true,
"paidAt": "2023-04-15T14:30:00Z",
"stripePaymentIntent": "pi_3RJut1234567890",
"stripeInvoice": "in_1RJutEIz1234567890",
"usedPromoCodes": [
{
"id": "43oMGCex",
"amount": 100,
"code": "U2QWC8"
}
]
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.