v1

latestSwagger 2.0Private2026-08-04128286690.5 KB
Technology Partners

POST Send an API request on Behalf of a Client Account

Use this API method to send an API request on behalf of a managed client account in your partnership.

The request body properties you use in this partner API call determine the structure of the API request that Constant Contact sends on behalf of the managed client account. This includes the HTTP url, HTTP method type, request body, request url parameters, request query parameters, and headers that for the request. You can use this /partner/accounts/{encoded_account_id}/account_operations/sync API method to send a request using non-partner v3 API methods.

post/partner/accounts/{encoded_account_id}/account_operations/sync

Path parameters

encoded_account_idstring required

An encoded account id for a managed account in your partnership.

Request body

account_operation_urlstring required

The API method path for the request you are sending on behalf of a managed child account. This value should be a V3 API URL without the https://api.cc.email/v3 base url and with any path parameter names included. For example: <code>/emails/activities/{campaign_activity_id}</code>.

account_operation_methodstring required

The http method for the request you are sending on behalf of a managed child account.

account_operation_payloadstring

The request payload for the request you are sending on behalf of a managed child account. If you provide a JSON payload using this parameter, make sure that the JSON is string escaped.

Example request

{
  "account_operation_url": "/contacts/{contact_id}",
  "account_operation_method": "GET",
  "account_operation_query_parameters": [
    {
      "query_param_key": "include",
      "query_param_value": "list_memberships"
    }
  ],
  "account_operation_path_parameters": [
    {
      "path_param_key": "contact_id",
      "path_param_value": "04fe9a-a579-43c5-bb1a-58ed29bf0a6a"
    }
  ],
  "account_operation_headers": [
    {
      "header_key": "Accept",
      "header_value": "application/json"
    }
  ]
}

Response

Request successful. The response body schema returned by this method corresponds to the specific API request you provided in the request body.