Skip to content

Add travelers to an event

Request

Add the list of travelers to be invited to the event.

Security
Bearer
Path
eventIdstringrequired

Event ID

Example:6926658168
Bodyapplication/json
typestring(EventType)

Type of an event

Enum:"GENERIC""PROGRAM""PROGRAM_SESSION""PROGRAM_TRIP"
Example:"GENERIC"
userIdsArray of objects(UserId)
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/events/6926658168/travelers/add \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "GENERIC",
    "userIds": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ]
  }'

Responses

OK

Bodyapplication/json
addedUserIdsArray of objects(UserId)
Response
{ "addedUserIds": [ { … } ] }