User Info
The user info endpoint returns your account details and the teams you belong to. This is useful for discovering your team IDs, which you'll need when creating monitors or status pages.
Example request:
$ OHDEAR_TOKEN="your API token" $ curl https://ohdear.app/api/me \ -H "Authorization: Bearer $OHDEAR_TOKEN" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json'
All endpoints below follow the same authentication pattern.
Get your user info #
GET /api/me
Returns your account details and team memberships.
Here's what the response looks like:
{ "id": 1, "name": "Firstname Lastname", "email": "[email protected]", "photo_url": "https://www.gravatar.com/avatar/...jpg", "teams": [ { "id": 1, "name": "Your Team Name", "timezone": "Europe/Brussels", "created_at": "2018-01-01T00:00:00.000000Z" } ] }
id: the identifier of the user this API key belongs toname,email,photo_url: personal information about your accountteams: an array of teams this user belongs to. A user can be a member of several teams. Each team includes:id: team ID, used throughout the API when creating monitors or status pagesname: human-readable team nametimezone: the team's timezonecreated_at: when the team was created (UTC)
Was this page helpful?
Feel free to reach out via [email protected] or on X via @OhDearApp if you have any other questions. We'd love to help!