🎉 AdCP 3.0 is now GA — see what's new
curl --request POST \
--url https://agenticadvertising.org/api/registry/agents/{encodedUrl}/oauth-client-credentials/test \
--header 'Authorization: Bearer <token>'{
"latency_ms": 123
}Exchange the saved client_credentials at the token endpoint and discard the resulting access token. Returns success + latency on a 2xx exchange, or the SDK’s ClientCredentialsExchangeError kind (oauth, malformed, network) on failure so operators get same-second feedback instead of waiting for the next compliance heartbeat. Requires authentication and ownership. Requires credentials to already be saved via PUT /oauth-client-credentials.
curl --request POST \
--url https://agenticadvertising.org/api/registry/agents/{encodedUrl}/oauth-client-credentials/test \
--header 'Authorization: Bearer <token>'{
"latency_ms": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.adcontextprotocol.org/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token in the Authorization header. Two token types are accepted:
sk_...) issued via the dashboard. Org-scoped, long-lived, for server-to-server use./.well-known/oauth-authorization-server and the protected-resource metadata at /.well-known/oauth-protected-resource/api.URL-encoded agent URL
Result of the token exchange. ok: true on 2xx from the AS; ok: false with a typed error otherwise (HTTP response itself is still 200 — the error payload carries the rejection kind so UI can branch on it).
Was this page helpful?