Skip to main content

Session token generator

We have to send email and password to get logged in.

This API gives 2 types of responses based on property eventid:

  1. If SUPPLIED =>

    We will receive session_token to AUTHORIZE all other APIs.

  2. If Not SUPPLIED =>

    It will bring a list of event details. We can use any session_token from the event list to access that specific event details.

Request Body

Follow the strcture specified to avoid any error.

  • email and password are mandatory

  • eventid is optional.

    If not sent it will bring a list of events, each containing session_token and eventname. We can choose any one of them and authorize accordingly.

    Else sent it will bring a specific event's session_token, that we can authorize and test all other APIs.

email string
password string
eventid integer
Responses
200

SessionTokenSuccessResponse

Schema
object[]
eventid integer
eventname string
session_token string
default

When user successfully get's logged in

Schema
session_token string