---
title: "OAuth callback endpoint"
method: GET
path: "/auth/callback"
---

# OAuth callback endpoint

`GET /auth/callback`

Handles the OAuth callback from Zoho and returns an API key

## Query parameters

- `code` string, required

## Response `200`

Successfully authenticated

- object
  - `api_key` string — Generated API key for the user
  - `email` string — User's email address
  - `expired_at` integer — Timestamp when the API key will expire

## Other responses

- `400` — Bad request - missing or invalid authorization code
- `500` — Internal Server Error

---

[API](https://skmtc.net/mmhk/apis/anthropic-claude-messages-api.md) · [All operations](https://skmtc.net/mmhk/apis/anthropic-claude-messages-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mmhk/anthropic-claude-messages-api/revisions/c8f805608547/schema)
