# Obtain an OAuth token

Use your credentials to obtain a token to authenticate your subsequent requests.

Endpoint: POST /oauth
Version: 1.0.0

## Request fields (application/json):

  - `grant_type` (string)
    The grant_type will always be "client_credentials"
    Enum: "client_credentials"

  - `client_id` (string)
    Your API key
    Example: "xxxxx000x0"

  - `client_secret` (string)
    Your API secret
    Example: "X0xXx0X0xxX0XxXx0X0Xxx0xXx0xX0Xx0XxX0xX0xxX0XxXx0X0Xxx0xXx0xX0"

## Response 200 fields (application/json):

  - `access_token` (string)
    Example: "x0xx00x00xxx00x00x0xxx000000000000x000xx"

  - `expires_in` (integer)
    Example: 3600

  - `token_type` (string)
    Example: "Bearer"

  - `scope` (string,null)


## Response 400 fields
