---
title: "POST Send an API request on Behalf of a Client Account"
method: POST
path: "/partner/accounts/{encoded_account_id}/account_operations/sync"
tags: ["Technology Partners"]
---

# POST Send an API request on Behalf of a Client Account

`POST /partner/accounts/{encoded_account_id}/account_operations/sync`

## Request

- Base URL: `https://api.cc.email/v3`
- URL: `https://api.cc.email/v3/partner/accounts/{encoded_account_id}/account_operations/sync`
- Auth: OAuth 2 and API key in header `x-api-key`
  - Implicit: `https://v3api-partner.auth.us-east-1.amazoncognito.com/oauth2/token`

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.

## Path parameters

- `encoded_account_id` string, required

## Request body

- PartnerAccountOperationsRequest: JSON object that contains the fields Constant Contact uses to construct the HTTP request you are sending on behalf of a managed account.
  - `account_operation_url` string, 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_method` string, required: The http method for the request you are sending on behalf of a managed child account.
  - `account_operation_payload` string: 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.
  - `account_operation_query_parameters` QueryParamObject[]: An array containing the query parameters for the request you are sending on behalf of a managed child account.
    - `query_param_key` string: The name of the query parameter.
    - `query_param_value` string: The value of the query parameter.
  - `account_operation_path_parameters` PathParamObject[]: An array containing the path parameters for the request you are sending on behalf of a managed child account.
    - `path_param_key` string: The name of the path parameter.
    - `path_param_value` string: The value of the path parameter.
  - `account_operation_headers` HeadersObject[]: An array containing the headers for the request you are sending on behalf of a managed child account.
    - `header_key` string: The name of the header.
    - `header_value` string: The value of the header.

## Response `200`

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

## Other responses

- `400`: Bad request. Either the JSON was malformed or there was a data validation error.
- `401`: The Access Token used is invalid.
- `403`: Forbidden request. You lack the necessary scopes, you lack the necessary user privileges, or the application is deactivated.
- `404`: Not found. This may indicate that the encoded_account_id you provided is invalid, or the API request you are sending on behalf of an account returned a 404.
- `500`: There was a problem with our internal service.

## Changes

- **2025-07-26** `2483585c5d89`: 3 info
  - the endpoint scheme security `ctctPartnerAuthorizer AND api_key` was added to the API
  - the endpoint scheme security `api_key` was removed from the API
  - the endpoint scheme security `ctctPartnerAuthorizer` was removed from the API
- **2022-04-06** `61b076c96be7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cc/apis/appconnect-v3/changes/partner/accounts/:encoded_account_id/account_operations/sync/post.md)

---

[API](https://skmtc.dev/cc/apis/appconnect-v3.md) - [All operations](https://skmtc.dev/cc/apis/appconnect-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/cc/apis/appconnect-v3/revisions/7bcad1d0ff26?raw)
