Skip to content

API Endpoints

Trimble Identity API endpoints used in client authentication are documented below. The API is built on the industry-standard OAuth 2.0 and OpenID Connect Core 1.0 protocols.

The authorize endpoint supports three response_types: code, id_token, token. If code is present in your parameters, JWTs are not needed for authorization.

HTTP
GET /oauth/authorize

The token endpoint is use to retrieve an access token.

HTTP
POST /oauth/token
HTTP
GET /oauth/userinfo
HTTP
GET /oauth/logout

The token revocation endpoint is used to revoke, or invalidate, a specific refresh token.

HTTP
POST /oauth/revoke
HeaderDescription
AuthorizationBasic (base64 encoded Client id:Client secret)
ParameterDescription
tokenRefresh token to be revoked
token_type_hintRefresh token
Terminal window
# Your application credentials
client_id="your client id"
client_secret="your client secret"
token="token to be revoked"
hint="token hint"
encoded_credentials=$(echo -n "$client_id:$client_secret" | base64)
curl --location --request POST "https://id.trimble.com/oauth/revoke" \
--header "Authorization: Basic $encoded_credentials" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "token=$token" \
--data-urlencode "token_type_hint=$hint"