Skip to main content
POST

Headers

X-Pinecone-Api-Version
string
default:2025-10
required

Required date-based version header

Body

A request to exchange client credentials for an access token.

A request to obtain an access token.

client_id
string
required

The service account's client ID.

client_secret
string
required

The service account's client secret.

grant_type
string
required

The type of grant to use.

audience
string
required

The audience for the token.

Response

A response that contains the access token.

A response that contains the access token.

access_token
string
required

The access token.

token_type
string
required

The type of token. Possible values: Bearer.

expires_in
integer
required

The number of seconds until the token expires.