Skip to content

List event templates

Request

This endpoint lists event templates.

Security
Bearer
Bodyapplication/json
filtersArray of objects(EventTemplateFilter)

List events filters

offsetinteger, >= 0

Indicates from where in the list of events the server should start.

Default:0
Example:2
limitinteger, <= 100

Maximum number of results to be fetched for the query.

Default:25
Example:2
sortOptionsArray of objects(SearchEventTemplateSortOptions)

Sort options for the list event template request.

curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/event-templates/list \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "filters": [
      {
        "companyFilter": {
          "companyId": {
            "id": "f49d00fe-1eda-4304-ba79-a980f565281d"
          }
        }
      }
    ],
    "offset": 2,
    "limit": 2,
    "sortOptions": [
      {
        "sortField": "EVENT_NAME",
        "sortOrder": "DESC"
      }
    ]
  }'

Responses

OK

Bodyapplication/json
eventTemplatesArray of objects(EventTemplate)

List of event templates

paginationParamsobject(PaginationResponseParams)

Pagination parameters for response.

Response
{ "eventTemplates": [ { … } ], "paginationParams": { "totalNumResults": 0 } }