API Access

You can access the Cachical API using an API Token
API Tokens can be obtained from your profile page, accessible here

Example in cURL

 curl -H "Authorization: [YOUR_TOKEN_HERE]" https://api.cachical.com/v1/endpoint_here

Endpoints


Profile

/private/profile GET

Obtain information about your profile

Headers

These headers are required for all request types to this endpoint

Authorization: - The API Token being used for the request

GET

curl -H "Authorization: [YOUR_TOKEN_HERE]" https://api.cachical.com/v1/private/profile

Response

Values that will be returned in response to a GET request

Code - HTTP Status Code

NAME - Full name (First and Last) of the current Authorized user

Phone_number - Phone number of the current Authorized user

Email - Email address of the current Authorized user

GET

[{'Code':'200', 'NAME':'John Doe', 'Phone_number':'+1713555555', 'Email':'email@example.com'}]