Save OAuth 2.0 client-credentials for an agent
Changed onStore a machine-to-machine OAuth 2.0 client-credentials configuration (RFC 6749 §4.4) for this agent. The SDK exchanges at the token endpoint before every call and refreshes on 401. client_secret may be a $ENV:VAR_NAME reference — the SDK resolves at exchange time, the server stores it as written (encrypted uniformly). Requires authentication and ownership.
Request
- Base URLhttps://agenticadvertising.org
- URLhttps://agenticadvertising.org/api/registry/agents/{encodedUrl}/oauth-client-credentials
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://agenticadvertising.org/authorizeToken URL: https://agenticadvertising.org/token
Path parameters
URL-encoded agent URL
Request body
Response
Credentials saved
Changes
- info
added the new optional request property
- info
- warning
added the new
aggregate_too_longenum value to theresponse property for the response status - warning
added the new
array_too_fewenum value to theresponse property for the response status - warning
added the new
array_too_manyenum value to theresponse property for the response status - info
request property
list-of-types was widened by adding typesarrayto media typeapplication/json
- warning