Skip to main content

Authenticate an API request

In your preferred API client or programming language, create an API request with your API key by adding it as an Authorization header.

GET https://2025-26.timetable.cam.ac.uk/api/me
Content-Type: application/json
Authorization: Bearer {YOUR_TOKEN_VALUE}`

Replace {YOUR_TOKEN_VALUE} above with the value copied from the Timetable app.

Check that you received a valid response, and that it included your own profile information, such as your name. The extract included as an example below is smaller than the response you should expect, but highlights the properties you can check:


{
"displayName": "Your name",
"email": "your-id@cam.ac.uk",
"id": 1,
}