OAuth 2.0 API
11 endpoints — authenticate with a workspace access token via Authorization: Bearer. See the API introduction for base URLs, pagination, and rate limits.
List Clients
GET/api/oauth2/
List OAuth2 clients belonging to the authenticated user.
Query parameters
Page number, defaults to 1.
Size of a page, defaults to 10. Maximum is 100.
Returns 200 with PaginatedList_OAuth2Client_.
curl -X GET \
https://api.rapidly.tech/api/oauth2/ \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"Create Client
POST/api/oauth2/register
Register a new OAuth2 client (RFC 7591).
Request body OAuth2ClientConfiguration
Client Name
Redirect Uris
Token Endpoint Auth Method
Grant Types
Response Types
Scope
Client Uri
Logo Uri
Tos Uri
Policy Uri
SubType
Returns 200 with object.
curl -X POST \
https://api.rapidly.tech/api/oauth2/register \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Get Client
GET/api/oauth2/register/{client_id}
Read an OAuth2 client's configuration (RFC 7592).
Path parameters
Returns 200 with object.
curl -X GET \
https://api.rapidly.tech/api/oauth2/register/{client_id} \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"Update Client
PUT/api/oauth2/register/{client_id}
Update an OAuth2 client's configuration (RFC 7592).
Path parameters
Request body OAuth2ClientConfigurationUpdate
Client Id
Client Name
Redirect Uris
Token Endpoint Auth Method
Grant Types
Response Types
Scope
Client Uri
Logo Uri
Tos Uri
Policy Uri
Returns 200 with object.
curl -X PUT \
https://api.rapidly.tech/api/oauth2/register/{client_id} \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Delete Client
DELETE/api/oauth2/register/{client_id}
Soft-delete an OAuth2 client (RFC 7592).
Path parameters
Returns 200 with object.
curl -X DELETE \
https://api.rapidly.tech/api/oauth2/register/{client_id} \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"Authorize
GET/api/oauth2/authorize
Begin the authorization code flow (returns consent metadata or auto-approves).
Returns 200 with object.
curl -X GET \
https://api.rapidly.tech/api/oauth2/authorize \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"Consent
POST/api/oauth2/consent
Handle the user's consent decision (allow or deny).
Returns 200 with object.
curl -X POST \
https://api.rapidly.tech/api/oauth2/consent \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Request Token
POST/api/oauth2/token
Exchange a grant for an access token.
Returns 200 with TokenResponse.
curl -X POST \
https://api.rapidly.tech/api/oauth2/token \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Revoke Token
POST/api/oauth2/revoke
Revoke an access or refresh token.
Returns 200 with RevokeTokenResponse.
curl -X POST \
https://api.rapidly.tech/api/oauth2/revoke \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Introspect Token
POST/api/oauth2/introspect
Return metadata about an active token.
Returns 200 with IntrospectTokenResponse.
curl -X POST \
https://api.rapidly.tech/api/oauth2/introspect \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ ... }'Get User Info
GET/api/oauth2/userinfo
Return OpenID Connect claims for the authenticated subject.
Returns 200 with UserInfoUser | UserInfoWorkspace.
curl -X GET \
https://api.rapidly.tech/api/oauth2/userinfo \
-H "Authorization: Bearer $RAPIDLY_ACCESS_TOKEN"