Access Users
An Access User represents a handheld or installed device like smartphones or turnstiles at your venue that should be allowed to download and scan Tickets for events.
You can grant access to all events and tickets or just a selected subset of them. Each created Access User receives a unique token
that can than be used to authenticate against the API.
Please note:
The issued token
can only be used to authenticate against selected /accessusers endpoints. They cannot be used against other endpoints of the vivenu API.
Endpoints
The access user object
Attributes
The ID of the seller that owns the access user.
An internal name to identify the access user
The token to authenticate against the access-control endpoints.
Whether the access user can access all events of his seller
An ISO Timestamp indicating when the access user was created.
An ISO Timestamp indicating when the access user was updated.
Optional Attributes
Collapse all{"_id": "string","sellerId": "string","active": true,"name": "string","token": "string","accessAllEvents": true,"events": ["string"],"lastRequest": "2030-01-23T23:00:00.123Z","expires": "2030-01-23T23:00:00.123Z","isIntegration": true,"integration": "simplyX","deviceSettings": {},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}
Create an Access User
Payload
An internal name to identify the access user
Optional Attributes
Collapse all{"name": "string","isIntegration": true}
{"_id": "string","sellerId": "string","active": true,"name": "string","token": "string","accessAllEvents": true,"events": ["string"],"lastRequest": "2030-01-23T23:00:00.123Z","expires": "2030-01-23T23:00:00.123Z","isIntegration": true,"integration": "simplyX","deviceSettings": {},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}
Update an Access User
Payload
An internal name to identify the access user
The ID of the seller that owns the access user.
Whether the access user can access all events of his seller
The token to authenticate against the access-control endpoints.
Optional Attributes
Collapse all{"name": "string","events": ["string"],"expires": "2030-01-23T23:00:00.123Z","sellerId": "string","active": true,"accessAllEvents": true,"token": "string","lastRequest": "2030-01-23T23:00:00.123Z","integration": "simplyX","deviceSettings": {}}
{"_id": "string","sellerId": "string","active": true,"name": "string","token": "string","accessAllEvents": true,"events": ["string"],"lastRequest": "2030-01-23T23:00:00.123Z","expires": "2030-01-23T23:00:00.123Z","isIntegration": true,"integration": "simplyX","deviceSettings": {},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}
Delete an Access User
Query
{"_id": "string","sellerId": "string","active": true,"name": "string","token": "string","accessAllEvents": true,"events": ["string"],"lastRequest": "2030-01-23T23:00:00.123Z","expires": "2030-01-23T23:00:00.123Z","isIntegration": true,"integration": "simplyX","deviceSettings": {},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}
[{"_id": "string","sellerId": "string","active": true,"name": "string","token": "string","accessAllEvents": true,"events": ["string"],"lastRequest": "2030-01-23T23:00:00.123Z","expires": "2030-01-23T23:00:00.123Z","isIntegration": true,"integration": "simplyX","deviceSettings": {},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}]
{"sellerId": "string"}
Get all accessible Events
Returns a list of all events accessible for the device. This endpoint is often used when a user wants to select the event to do the checkin for.
Query
[{"_id": "string","name": "string"}]
Get Tickets for an Event v2
Returns a paged response of all tickets for a given event. Devices usually fetch and page through this endpoint and persist the results on disk to provide an offline capability.
Query
A limit on the number of objects to be returned. Can range between 1 and 1000.
The number of objects to skip for the requested result
An ISO Timestamp to filter tickets where created_at | updated >= $from
An ISO Timestamp to filter tickets where created_at | updated < $from
{"docs": [{"_id": "string","barcode": "string","name": "string","ticketTypeId": "string","ticketName": "string","priceCategoryId": "string","eventId": "string","sellerId": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","priceCategory": {"categoryId": "string","description": "string"},"status": "VALID","area": "string","row": "string","seat": "string","discountId": "string","discount": "string","entry": ["string"]}],"total": 1}
Get Ticket with barcode
Returns the ticket for a given barcode if existent. This endpoint is typically invoked when a device needs to validate a given barcode in realtime.
Query
{"_id": "string","barcode": "string","name": "string","ticketTypeId": "string","ticketName": "string","categoryRef": "string","priceCategoryId": "string","eventId": "string","sellerId": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","priceCategory": {"categoryId": "string","description": "string"},"status": "VALID"}
Create scans
Payload
The barcode of the ticket
An ISO Timestamp indicating when the ticket was scanned.
Whether the scan succeeded or failed
OK
FAIL
Indicates in which direction the scan was.
IN
OUT
Optional Attributes
Collapse all[{"ticketId": "string","barcode": "string","scanned_at": "2030-01-23T23:00:00.123Z","type": "OK","direction": "IN"}]
{"status": "OK"}