APIs to create and manage events.
API reference
/Events
/- Update event custom field responses
Create event
Get event
Delete a draft event
Get event by external ID
Add travelers to an event
Remove travelers from an event
List events
Publish event
Edit basic details of an event
Update event booking guidelines
Set traveler RSVP
Get traveler RSVP
Send invite
Send a test invite
Get event summaries
Get allowed payment sources
Cancel event
Get travelers list
Bulk publish events
Bulk edit/modify events.
Bulk delete draft events
Bulk cancel events
Get current details of an async event job.
Update event custom field...
Event API (v2)
Download OpenAPI description
Languages
Servers
Sandbox URL
https://api-ext-sboxmeta.partners.spotnana.com/
Spotnana mock server
https://developer.spotnana.com/_mock/openapi/eventapi/
Bodyapplication/json
Indicates from where in the list of travelers the server should start.
Default 0
Example: 2
Maximum number of results to be fetched for the query.
Default 10
Example: 2
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/events/{eventId}/travelers-list
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/eventapi/v2/events/{eventId}/travelers-list
- curl
- JavaScript
- Node.js
- Python
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/events/6926658168/travelers-list \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"offset": 2,
"limit": 2,
"type": "GENERIC",
"filters": [
{
"type": "string",
"searchTerm": "name"
}
]
}'Response
application/json
{ "travelerEventInfos": [ { … } ], "userGroupInfo": { "userGroupCriteria": [ … ], "userIds": [ … ] }, "paginationParams": { "totalNumResults": 0 } }
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/events/{eventId}/custom-field-responses
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/eventapi/v2/events/{eventId}/custom-field-responses
- curl
- JavaScript
- Node.js
- Python
curl -i -X PUT \
https://api-ext-sboxmeta.partners.spotnana.com/v2/events/6926658168/custom-field-responses \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"eventCustomFieldResponses": [
{
"customFieldId": "f49d00fe-1eda-4304-ba79-a980f565281d",
"responseItems": [
{
"response": "Leisure travel",
"additionalInput": "20"
}
],
"travelerAccess": "HIDDEN"
}
],
"customFieldV3Responses": [
{
"fieldId": "84922011-b03d-4966-bc95-c5b49bc2e342",
"fieldName": "string",
"armId": "0fd508db-63ff-4444-bfb1-b89c43061433",
"readOnly": true,
"hidden": true,
"selectedOptions": [
{
"name": "string",
"description": "string",
"additionalUserInput": "string",
"additionalInfos": [
"string"
],
"additionalInfoConfigs": [
{
"type": "VARIABLE",
"name": "LLF"
}
]
}
]
}
]
}'Bodyapplication/jsonrequired
List of events to be published.
Flag to indicate if an invite should be sent.
Example: true
List of users receiving the invite. - If provided, invites will be sent only to the specified users. - If empty or not provided, invites will be sent to all users.
- Sandbox URLhttps://api-ext-sboxmeta.partners.spotnana.com/v2/events/bulk-publish
- Spotnana mock serverhttps://developer.spotnana.com/_mock/openapi/eventapi/v2/events/bulk-publish
- curl
- JavaScript
- Node.js
- Python
curl -i -X POST \
https://api-ext-sboxmeta.partners.spotnana.com/v2/events/bulk-publish \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"publishEventList": [
{
"id": "56789012",
"sendInvite": true,
"userIds": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"type": "GENERIC"
}
]
}'Response
application/json
{ "publishEventResponses": [ { … } ] }