Skip to content

Get Current User

Retrieve the current user’s information.

Method

GET

Endpoint

https://api.easycron.com/v1/users/me

Example API call

Terminal window
curl \
--include \
--request GET \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <API_KEY>' \
https://api.easycron.com/v1/users/me

Example Success Response

{
"email_address": "john.doe@example.com",
"email_subscription": true,
"timezone": "America/Los_Angeles",
"user_id": 123
}

Example Failure Response

Together with the HTTP code of the error, the following error message will be responded:

{"message":"ERROR_MESSAGE"}