The complete event solution (1.0.0)

Download OpenAPI specification:

REST APIs from Ashker Events.

Auth

Auth APIs

Sign up a user

Request Body schema: application/json
required

Register user details(𝑺𝒆𝒆 𝑺𝒄𝒉𝒆𝒎𝒂𝒔 ⬇️)

One of
email
string
firstName
string
lastName
string
companyName
string
typeOfBusiness
string
Enum: "CORPORATE" "INDIVIDUAL"
authStrategy
string
Enum: "EMAIL_PASSWORD" "GOOGLE"

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "companyName": "string",
  • "typeOfBusiness": "CORPORATE",
  • "authStrategy": "EMAIL_PASSWORD"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Sign in a user

Request Body schema: application/json
required

Login venue/client detuserails(𝑺𝒆𝒆 𝑺𝒄𝒉𝒆𝒎𝒂𝒔 ⬇️)

One of
email
string
password
string

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "password": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "includes": {
    }
}

Gets a signed url

query Parameters
fileName
required
string

File name to be uploaded

Responses

Response samples

Content type
application/json
"string"

Sign in a guest user

Request Body schema: application/json
required

Login guest user details(𝑺𝒆𝒆 𝑺𝒄𝒉𝒆𝒎𝒂𝒔 ⬇️)

email
string
password
string
eventId
string

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "password": "string",
  • "eventId": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "includes": {
    }
}

Event

Event APIs

Creates an event.

Request Body schema: application/json
required

Create event request

_id
string
eventName
string
eventType
string
Enum: "CONFERENCE" "SEMINAR" "WORKSHOP" "TRADESHOW" "NETWORKING" "WEDDING"
noOfGuests
number
dressCode
string
Enum: "CASUAL" "BUSINESS" "FORMAL" "BLACK_TIE"
coverPhoto
string
setupTime
string
eventStartDate
string
eventEndDate
string
eventStartTime
string
eventEndTime
string
eventLocation
string
eventDescription
string
eventCurrency
string
Enum: "ETB" "USD"
eventStatus
string
Enum: "DRAFT" "PROFORMA_SENT" "NEGOTIATING" "CONTRACT_PENDING" "BOOKED"
isPublished
boolean
registrationFormId
string
allowTicketing
boolean
allowRegistration
boolean
allowPublicRegistration
boolean
logo
string
coverText
string

Responses

Request samples

Content type
application/json
{
  • "_id": "string",
  • "eventName": "string",
  • "eventType": "CONFERENCE",
  • "noOfGuests": 0,
  • "dressCode": "CASUAL",
  • "coverPhoto": "string",
  • "setupTime": "string",
  • "eventStartDate": "string",
  • "eventEndDate": "string",
  • "eventStartTime": "string",
  • "eventEndTime": "string",
  • "eventLocation": "string",
  • "eventDescription": "string",
  • "eventCurrency": "ETB",
  • "eventStatus": "DRAFT",
  • "isPublished": true,
  • "registrationFormId": "string",
  • "allowTicketing": true,
  • "allowRegistration": true,
  • "allowPublicRegistration": true,
  • "logo": "string",
  • "coverText": "string"
}

Response samples

Content type
application/json
{
  • "_id": "string",
  • "eventName": "string",
  • "eventType": "CONFERENCE",
  • "noOfGuests": 0,
  • "dressCode": "CASUAL",
  • "coverPhoto": "string",
  • "setupTime": "string",
  • "eventStartDate": "string",
  • "eventEndDate": "string",
  • "eventStartTime": "string",
  • "eventEndTime": "string",
  • "eventLocation": "string",
  • "eventDescription": "string",
  • "eventCurrency": "ETB",
  • "eventStatus": "DRAFT",
  • "isPublished": true,
  • "registrationFormId": "string",
  • "allowTicketing": true,
  • "allowRegistration": true,
  • "allowPublicRegistration": true,
  • "logo": "string",
  • "coverText": "string"
}

Gets all tenant events.

query Parameters
page
required
number

Page

limit
required
number

Limit

filter
required
string

Filter

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "meta": {
    }
}

Event CheckinList

Event Rules APIs

Create new event CheckinList.

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

Event rule create request

eventId
string
name
string
allowMultipleEntries
boolean
allowReEntryAfterExitScan
boolean
antiPassbackEnabled
boolean
entryLimitDuration
number

Responses

Request samples

Content type
application/json
{
  • "eventId": "string",
  • "name": "string",
  • "allowMultipleEntries": true,
  • "allowReEntryAfterExitScan": true,
  • "antiPassbackEnabled": true,
  • "entryLimitDuration": 0
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Update event CheckinList.

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

Event rule update request

_id
string
name
string
allowMultipleEntries
boolean
allowReEntryAfterExitScan
boolean
antiPassbackEnabled
boolean
entryLimitDuration
number

Responses

Request samples

Content type
application/json
{
  • "_id": "string",
  • "name": "string",
  • "allowMultipleEntries": true,
  • "allowReEntryAfterExitScan": true,
  • "antiPassbackEnabled": true,
  • "entryLimitDuration": 0
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Event Rules

Get event rules.

path Parameters
id
required
string

Event ID

header Parameters
x-tenant-id
required
string

Tenant ID

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Event Registration

Event Registration APIs

Create new event registration config.

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

Event registration config create request

eventId
string
allowRsvp
boolean

Responses

Request samples

Content type
application/json
{
  • "eventId": "string",
  • "allowRsvp": true
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Update event registration config.

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

Event registration config update request

_id
string
allowRsvp
boolean

Responses

Request samples

Content type
application/json
{
  • "_id": "string",
  • "allowRsvp": true
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Get event registration config.

path Parameters
id
required
string

Event ID

header Parameters
x-tenant-id
required
string

Tenant ID

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Speakers

Event Registration APIs

Create new event speakers.

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

Event speakers create request

eventId
string
speakerName
string
speakerBio
string
speakerPhoto
string

Responses

Request samples

Content type
application/json
{
  • "eventId": "string",
  • "speakerName": "string",
  • "speakerBio": "string",
  • "speakerPhoto": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Update event speakers.

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

Event speakers update request

_id
string
eventId
string
speakerName
string
speakerBio
string
speakerPhoto
string

Responses

Request samples

Content type
application/json
{
  • "_id": "string",
  • "eventId": "string",
  • "speakerName": "string",
  • "speakerBio": "string",
  • "speakerPhoto": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Get event speakers.

path Parameters
id
required
string

Event ID

header Parameters
x-tenant-id
required
string

Tenant ID

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Form

Form APIs

Get form by id.

path Parameters
formId
required
string

Form ID

header Parameters
x-tenant-id
required
string

Tenant ID

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Update form by id.

path Parameters
formId
required
string

Form ID

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

successful operation

object
_id
string

Responses

Request samples

Content type
application/json
{
  • "form": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Get forms.

query Parameters
page
required
number

Page

limit
required
number

Limit

header Parameters
x-tenant-id
required
string

Tenant ID

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "meta": {
    }
}

Guest

Guest APIs

Creates a guest

path Parameters
eventId
required
string

Event ID

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

successful operation

email
string
fullName
string

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "fullName": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Uploads guests from csv

path Parameters
eventId
required
string

Event ID

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: multipart/form-data
csvFile
string <binary>

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "message": "string"
}

Permission

Permission APIs

Create role permission

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

successful operation

roleId
string
permissionId
Array of strings

Responses

Request samples

Content type
application/json
{
  • "roleId": "string",
  • "permissionId": [
    ]
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Get all permissions.

query Parameters
page
required
number

Page

limit
required
number

Limit

userId
required
string

User Id

header Parameters
x-tenant-id
required
string

Tenant ID

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "meta": {
    }
}

Get permission by roleId.

path Parameters
roleId
required
string

Role ID

header Parameters
x-tenant-id
required
string

Tenant ID

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Role

Role APIs

Create new role.

header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

Role create request

role
string
description
string

Responses

Request samples

Content type
application/json
{
  • "role": "string",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Get all roles.

header Parameters
x-tenant-id
required
string

Tenant ID

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "meta": {
    }
}

Update role by Id

Authorizations:
ApiKeyAuth
header Parameters
x-tenant-id
required
string

Tenant ID

Request Body schema: application/json

Role update request

_id
string
role
string
description
string

Responses

Request samples

Content type
application/json
{
  • "_id": "string",
  • "role": "string",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Get role by Id

Authorizations:
ApiKeyAuth
path Parameters
roleId
required
string

ID of the role to update

header Parameters
x-tenant-id
required
string

Tenant ID

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}