Quickstart
Create an API token, then call the API with cURL or any HTTP client.
Create a token under Settings » API tokens, or exchange credentials with POST /api/login.
Make a request
GET /api/user returns the user behind the token. It is a good first call to confirm the token works.
GET
/api/usercurl https://app.riskadvisor.insure/api/user \
-H "Authorization: Bearer {token}" \
-H "Accept: application/json"
Response
{
"data": {
"id": 7,
"name": "Frank McCallister",
"email": "[email protected]"
}
}