For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI ReferenceRelease notes
DocumentationAPI ReferenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Integration API routes
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTCreate a service account in the database
        • DELDelete a service account in the database
        • GETGet service accounts from the database
        • PATCHRegenerate client secret
        • POSTRetrieve a JWT from a client's credentials
        • PATCHUpdate a service account in the database
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceOAuth

Retrieve a JWT from a client's credentials

POST
http://localhost:3000/oauth/token
POST
/oauth/token
$curl -X POST http://localhost:3000/oauth/token \
> -H "Content-Type: application/x-www-form-urlencoded"
1{
2 "access_token": "string",
3 "token_type": "bearer",
4 "expires_in": 3600
5}
Retrieves a JWT from a client's credentials.
Was this page helpful?
Previous

Update a service account in the database

Next
Built with

Request

request body
client_idstringOptionalformat: "^[0-9a-f]{24}$"
String representation of a MongoDB ObjectId
client_secretstringOptional
Uuid representation of client secret
grant_typeenumOptional
Allowed values:

Response

result
access_tokenstring
The JWT providing the user access to IAP
token_typeenum
The type of token provided
Allowed values:
expires_inenum
The amount of time until the JWT expires
Allowed values:

Errors

500
Internal Server Error