Other

POST /v1/email/sender-connections/actions/prepare_oauth

POST /v1/email/sender-connections/actions/prepare_oauth

Required scopes: communications:write

post/v1/email/sender-connections/actions/prepare_oauth

Request

  • Base URL: https://api.yardstick.team
  • URL: https://api.yardstick.team/v1/email/sender-connections/actions/prepare_oauth
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.

X-Request-Idstring

Optional caller-supplied request identifier. Values must match ^[A-Za-z0-9_-]{1,128}$; a valid value is echoed in the response X-Request-Id header, otherwise the API generates one.

Request body

provider'google' | 'microsoft' required
redirect_uristring uri
return_tostring uri nullable
connection_idstring uuid

Response

Success

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.