---
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

## Changes

- **2025-05-28** `958e7eb66e80` — 1 info
  - endpoint added
- **2025-02-27** `36c4e3ff1d48` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/mmhk/apis/anthropic-claude-messages-api/changes/auth/callback/get.md)

---

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