AuthAuthorization

Generate Access Token — OAuth Client Credentials

Generate an access token using client_id and client_secret. Authenticate all Deepvue API requests with OAuth 2.0 client credentials flow.

curl -X POST "https://production.deepvue.tech/v1/authorize" \
  -H "X-Deepvue-Origin: acme-web" \
  --form client_id=YOUR_CLIENT_ID \
  --form client_secret=YOUR_CLIENT_SECRET
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example_access_token",
  "token_type": "bearer",
  "expiry": "2025-04-30T23:59:59Z"
}
POST
/v1/authorize
POST
Base URLstring

Target server for requests. Edit to use your own host.

Content-Typestring
Required

The media type of the request body

Options: multipart/form-data
header
X-Deepvue-Originstring

Identifies the product, service, or platform you are calling the API from. The value appears in the Caller column of Transaction logs and in dashboard analytics. - Use lowercase letters, digits, and hyphens only - Start with a letter or digit - Maximum 32 characters A value that does not match ^[a-z0-9][a-z0-9-]{0,31}$ is rejected with INVALID_ORIGIN_METADATA.

Min length: 1 • Max length: 32 • Pattern: ^[a-z0-9][a-z0-9-]{0,31}$
client_idstring
Required

CLIENT_ID provided to you

client_secretstring
Required

CLIENT_SECRET provided to you

Request Preview
Response

Response will appear here after sending the request

Headers

X-Deepvue-Originstring

Identifies the product, service, or platform you are calling the API from. The value appears in the Caller column of Transaction logs and in dashboard analytics.

  • Use lowercase letters, digits, and hyphens only
  • Start with a letter or digit
  • Maximum 32 characters

A value that does not match ^[a-z0-9][a-z0-9-]{0,31}$ is rejected with INVALID_ORIGIN_METADATA.

Example:
acme-web

Body

multipart/form-data
client_idstring
Required

CLIENT_ID provided to you

client_secretstring
Required

CLIENT_SECRET provided to you

Responses

access_tokenstring
token_typestring
expirystring