---
title: "Oauth2 Token"
method: POST
path: "/oauth2/token"
tags: ["Authorization"]
---

# Oauth2 Token

`POST /oauth2/token`

Generates a shot lived bearer token used to authenticate an application to the rest of the API.

- **client_id**: client id from the application
- **client_secret**: client secret from the application
- **grant_type**: only "client_credentials" are supported at this time

See [https://law.lexmachina.com/api-settings](https://law.lexmachina.com/api-settings) for application management.

## Query parameters

- `client_id` string
- `client_secret` string
- `grant_type` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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