Connections

Call a connected app's API directly

Changed on

Make an authenticated HTTP request to a connected app's own API, for endpoints no tool covers. Credentials are injected server-side and never exposed - do not send an Authorization header. The app's own status code is returned in the body (status), so a 404 there is the app's answer, not a failure of this call. Governed by the same approval policy as /execute: reads run now (200), writes freeze a pending approval (202). Only app connections proxy; MCP servers (use /execute) and social/ads connections (use their native /v1 endpoints) are refused with 409.

post/connections/{id}/proxy

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

Unified public connection id, as returned by GET /connections/connected. Opaque — pass it back verbatim.

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
endpoint, string required

Path relative to the app's API base URL (e.g. /gmail/v1/users/me/messages), or an absolute URL on the app's own domain.

method, 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'
body, union

Request body, sent verbatim. Ignored for GET.

headers, object

Extra headers forwarded to the app. Authorization and other transport headers are ignored.

Response

The app's response, verbatim

ConnectionProxyResponse required
object, 'connection_proxy_response' required
connection, string required

The connection public id

endpoint, string nullable
status, integer required

The status code the app returned

truncated, boolean

The response body exceeded the size cap and was cut

body, union

The app's response body

Changes

    • info

      added the required property details to the response with the status

    • info

      added the required property request to the response with the status

    • warning

      added the new site enum value to the kind response property for the response status