Auth

Authenticate and retrieve API keys

Validates email and password hash. Returns account info and API key prefix list for the dashboard session.

post/v1/auth/login

Request

  • Base URL: https://api.honkio.ca
  • URL: https://api.honkio.ca/v1/auth/login
  • Auth: none required

Request body

emailstring email required
passwordstring required

Response

Signed in. The two session keys are shown once; the dashboard uses them for its own calls.

session_keystring required

A LIVE dashboard session key, valid for 7 days or until the next login or password change.

session_key_idstring required
session_test_keystring required

The matching TEST dashboard session key.

session_test_key_idstring required

Example response

{
  "api_keys": [
    {
      "permissions": {
        "messages": "rw",
        "contacts": "r",
        "phone_numbers": "r"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.