Authentication

Verify authentication

Verify the bearer token and read its company and store. Send Authorization: Bearer <token>.

get/api/external/v1/auth

Request

  • Base URL: http://localhost
  • URL: http://localhost/api/external/v1/auth
  • Auth: HTTP bearer

Response

Example response

{
  "data": {
    "authenticated": true,
    "permissions": "all",
    "expires_at": null,
    "company": {
      "id": 45,
      "name": "Acme AB"
    },
    "store": {
      "id": 67,
      "name": "Acme Stockholm"
    }
  }
}

Changes

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