Skip to main content
POST
Create a new access token

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string<email>
required

User's email address

Example:

"user@nextvisit.app"

password
string<password>
required

User's password

Example:

"secureP@ssw0rd!"

device_name
string
required

Name of the device requesting the token

Example:

"iPhone 14 Pro"

Response

Token successfully created

status
string
required

Status of the token request

Example:

"success"

token
string
required

Authentication token value

Example:

"nv-sk-2|4qrD6iCn5FYhHyrdVX1IE4kk6RWg091WpboNklOC"

token_id
integer
required

Unique identifier for the token

Example:

123

user
object
required

Basic information about the authenticated user

team
object
required

Basic information about the user's current team