DestinationsShow the OAuth client consents run as

Show the OAuth client consents run as

Which Google OAuth client this agency's destination consents run as, and the exact redirect URI that must be registered on it. The client secret is never returned. Agency keys only.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/destinations/oauth/client" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "has_client": true,
    "source": "agency",
    "client_id": "example_string",
    "available": true,
    "redirect_uri": "example_string",
    "scope": "example_string"
  }
}
GET
/client/v1/destinations/oauth/client
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Responses

successboolean
dataobject