Skip to content

Bulk publish events

Request

API to bulk publish events and has a support for sending invite to selective users

Security
Bearer
Bodyapplication/jsonrequired
publishEventListArray of objects, [ 1 .. 100 ] items(PublishEventRequest)required

List of events to be published.

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"
      }
    ]
  }'

Responses

Bulk publish response with event statuses

Bodyapplication/json
publishEventResponsesArray of objects(PublishEventResponse)required

List of events publish response.

Response
{ "publishEventResponses": [ { … } ] }