Auth

Get session token to use the api by providing your credentials

post

Login

Authorizations
AuthorizationstringRequired
Body

Login credentials

emailstringRequired

credentials

passwordstringRequired

options

Responses
200

Success

application/json
post
/auth/login
POST /v1/auth/login HTTP/1.1
Host: customers-api.netnut.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 26

{
  "email": "",
  "password": ""
}
{
  "success": true,
  "token": "text"
}

Get is token is valid

get

Get is token is valid

Authorizations
AuthorizationstringRequired
Responses
200

Success

application/json
get
/auth/authenticated
GET /v1/auth/authenticated HTTP/1.1
Host: customers-api.netnut.io
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "token": "text"
}

Last updated