---
updatedAt: 2026-07-21T08:51:14.000Z
agentTools:
  projectIndex: https://developers.dailymotion.com/llms.txt
---

# Request access token

<Callout icon="📘" theme="info">
  ### You are reading **API v2 documentation**

  Still using the Legacy API? Access the <Anchor target="_blank" href="https://developers.dailymotion.com/v0/docs/welcome">Legacy API documentation</Anchor>.
</Callout>

<br />

<Cards>
  <Card title="Authentication guide" href="https://developers.dailymotion.com/v2/docs/authenticate" icon="fa-angle-double-down" />
</Cards>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Auth v2"
  },
  "servers": [
    {
      "url": "https://oauth2.dailymotion.com"
    }
  ],
  "paths": {
    "/v2/token": {
      "post": {
        "tags": [
          "Oauth"
        ],
        "summary": "Request access token",
        "operationId": "requestAccessToken",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "title": "TokenRequest",
                "type": "object",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ClientCredentialsTokenRequest"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Oauth generation",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ClientCredentialsTokenRequest": {
        "title": "Client Credentials Token Request",
        "required": [
          "scope",
          "grant_type",
          "client_id",
          "client_secret"
        ],
        "type": "object",
        "properties": {
          "scope": {
            "title": "Scope",
            "type": "string",
            "description": "Space-separated list of scopes. <b><a href='https://developers.dailymotion.com/v2/reference/api-scopes'>See available scopes</a>.</b>",
            "example": "bundle.organization"
          },
          "grant_type": {
            "$ref": "#/components/schemas/GrantType"
          },
          "client_id": {
            "title": "Client Id",
            "type": "string",
            "description": "The private API key retrieved from your Dailymotion Studio."
          },
          "client_secret": {
            "title": "Client Secret",
            "type": "string",
            "description": "The private API secret retrieved from your Dailymotion Studio."
          }
        }
      },
      "GrantType": {
        "title": "GrantType",
        "type": "string",
        "enum": [
          "client_credentials"
        ],
        "description": "Specify grant type <code>client_credentials</code>."
      },
      "HTTPValidationError": {
        "title": "HTTPValidationError",
        "type": "object",
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      },
      "ValidationError": {
        "title": "ValidationError",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "type": "object",
        "properties": {
          "loc": {
            "title": "Location",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            }
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        }
      }
    }
  }
}
```