---
title: "Create a new token for a company"
method: POST
path: "/v1/companies/{company_id}/create-token"
tags: ["Company Tokens"]
---

# Create a new token for a company

`POST /v1/companies/{company_id}/create-token`

Creates new tokens for a given company

## Path parameters

- `company_id` string, required

## Query parameters

- `scope` string

## Response `200`

Success

- CompanyTokenResponse — OAuth2 tokens returned after a company authorizes access. Use the access token in the Authorization header for subsequent API calls. Use the refresh token to obtain a new access token when the current one expires.
  - `access_token` string, required — The OAuth2 access token (JWT). Include this in the `Authorization: Bearer <token>` header for API requests.
  - `expires_in` integer, required — The number of seconds until the access token expires.
  - `refresh_token` string, required — The refresh token used to obtain a new access token when the current one expires.

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/remote-com/apis/remote.md) · [All operations](https://skmtc.net/remote-com/apis/remote/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/remote-com/remote/revisions/7e6a0c61ac82/schema)
