Skip to main content

GET /auth/me

Return a 200 status code if the api_token is valid.

Example Request

curl -X GET "https://api.callbell.eu/v1/auth/me" \
-H "Authorization: Bearer test_gshuPaZoeEG6ovbc8M79w0QyM" \
-H "Content-Type: application/json"

Response

ParameterTypeDescription
statusstringThe status of the request (ok)
user_emailstringEmail of the account user
user_namestringName of the account user
api_keystringAPI key which generated the token used for the request

Example Response

response.json
{
"status": "ok",
"user_email": "john_doe@email.com",
"user_name": "John Doe",
"api_key": "test_1234567890"
}