Skip to main content
POST
/
v1
/
login
Sign in and receive a JWT
curl --request POST \
  --url https://api.nitrosend.com/v1/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "user": {
    "email": "jsmith@example.com",
    "password": "<string>"
  }
}
'
{
  "id": 123,
  "first_name": "<string>",
  "last_name": "<string>",
  "email": "jsmith@example.com",
  "mobile": "<string>",
  "country_code": "<string>",
  "admin": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Body

application/json
user
object
required

Response

Signed in

id
integer
first_name
string | null
last_name
string | null
email
string<email>
mobile
string | null
country_code
string | null
admin
boolean
created_at
string<date-time>
updated_at
string<date-time>