v1

latestSwagger 2.02026-07-13301635.0 KB
auth

Logs in to an existing account

post/auth/authorization

Request body

loginstring required

email address

passwordstring required

Example request

{
  "login": "john@jjf.com",
  "password": "8yfqwiuy@!$"
}

Response

successful login

statusstring
user_idinteger
uidstring

token for future authorized calls

anet_customer_idstring

used internally by Handwrytten

free_cardsinteger

number of free cards in account

Example response

{
  "status": "OK",
  "user_id": 979877,
  "uid": "fhqwfuihuifqwhiuwqfhiqwfh124",
  "anet_customer_id": "hfekjh",
  "free_cards": 1
}