Validate hosted OAuth callback state without storing raw code

post/oauth/callback-metadata

Request

  • Base URL: https://api.gravityads.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.gravityads.dev/oauth/callback-metadata
  • Auth: HTTP bearer

Request body

statestring required
codestring

Raw provider code is accepted only for hashing/validation and is never returned.

errorstring

Response

OAuth callback metadata

schema_version'gravityads.hosted_oauth_callback_metadata.v1' required
status'oauth_callback_validated' | 'oauth_callback_error' required
tenant_idstring required
platformstring required
connection_idstring required
state_hashstring required
authorization_code_hashstring
provider_errorstring
age_secondsinteger
next_stepstring required
raw_authorization_code_forwarded_to_adapterfalse required
writes_platformfalse required

Changes

No recorded changes to this operation across all 1 revision of this API.