Creates a bearer token that enables an OAuth client to authenticate with the Zuora REST API. The OAuth client must have been created using the Zuora UI. See Authentication for more information.
Note: When using this operation, do not set any authentication headers such as
You should not use this operation to generate a large number of bearer tokens in a short period of time; each token should be used until it expires. If you receive a 429 Too Many Requests response when using this operation, reduce the frequency of requests. This endpoint is rate limited by IP address.
For the rate limit information of authentication, see Rate and concurrent request limits.
string <= 64 characters
A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue.
The value of this field must use the US-ASCII character set and must not include any of the following characters: colon (
string = 36 characters
The Client ID of the OAuth client.
string <= 42 characters
The Client Secret that was displayed when the OAuth client was created.
The OAuth grant type that will be used to generate the token. The value of this parameter must be
Too Many Requests
- "access_token": "c652cbc0ea384b9f81856a93a2a74538",
- "token_type": "bearer",
- "expires_in": 3599,
- "scope": "user.7c4d5433dc234c369a01b9719ecd059f entity.1a2b7a37-3e7d-4cb3-b0e2-883de9e766cc entity.c92ed977-510c-4c48-9b51-8d5e848671e9 service.echo.read tenant.19",
- "jti": "c652cbc0ea384b9f81856a93a2a74539"