> ## Documentation Index
> Fetch the complete documentation index at: https://hexelstudio.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Service OAuth Callback

> Handle the OAuth 2.0 callback from third-party services for service authorization.
This endpoint processes the authorization code, exchanges it for tokens, and stores them.

Handle the OAuth 2.0 callback from third-party services for service authorization.

* **Method:** GET
* **Path:** `/api/v1/services/callback/{service_name}`

## Path Parameters

* `service_name` (string, required): The name of the service
* `code` (string, required, query): The authorization code
* `state` (string, optional, query): The state parameter

## Response

Returns an empty object on success.

<OpenAPIPlayground endpoint="/api/v1/services/callback/{service_name}" method="GET" />
