---
title: "Authorize the client"
method: GET
path: "/authorize"
tags: ["authorization"]
---

# Authorize the client

`GET /authorize`

OAuth 2.0 authorization endpoint to initiate the OAuth 2.0 Authorization Code grant to obtain an authorization code to exchange for an access token.

Use Authorization Code grant to obtain access token for a Company.

## Query parameters

- `response_type` 'code', required
- `client_id` string, uuid, required
- `redirect_uri` string, uri, required
- `scope` string
- `state` string, required
- `bokio_tenantid` string, uuid
- `bokio_tenanttype` 'company'

## Other responses

- `302` — Redirects to the client's redirect URI with an authorization code when the user has authorized the client
- `400` — The request is invalid or missing required parameters

---

[API](https://skmtc.net/bokio/apis/company-api.md) · [All operations](https://skmtc.net/bokio/apis/company-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bokio/company-api/revisions/1bb5d09ce15e/schema)
