---
title: "ClientCredentialsToken sends a request to Auth0 using OAuth Client Credentials flow."
method: POST
path: "/v1.1/oauth/token"
tags: ["ControlService"]
---

# ClientCredentialsToken sends a request to Auth0 using OAuth Client Credentials flow.

`POST /v1.1/oauth/token`

This enables organizations to access the Control API for Machine to Machine authentication.

## Request body

- ProtobufControlpbV1ClientCredentialsTokenRequest
  - `audience` string — Audience should always be "https://control.metarouter.io" at this time
  - `clientId` string
  - `clientSecret` string
  - `grantType` string — Grant Type will always be client_credentials

## Response `200`

OK

- ProtobufControlpbV1ClientCredentialsTokenResponse
  - `accessToken` string
  - `expiresIn` integer
  - `scope` string
  - `tokenType` string

## Other responses

- `4XX` — Something is wrong with your request such as missing or invalid data. Correct your request and try again.
- `5XX` — Internal server error. Try again later or reach out to MetaRouter support.

---

[API](https://skmtc.net/metarouter/apis/control-api.md) · [All operations](https://skmtc.net/metarouter/apis/control-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metarouter/control-api/versions/5afc05bfaaa2/schema)
