KosmoKrator

productivity

Constant Contact CLI for AI Agents

Use the Constant Contact CLI from KosmoKrator to call Constant Contact tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Constant Contact CLI Setup

Constant Contact can be configured headlessly with `kosmokrator integrations:configure constant-contact`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure constant-contact --enable --read allow --write ask --json
kosmokrator integrations:doctor constant-contact --json
kosmokrator integrations:status --json

Credentials

Authentication type: Manual OAuth token oauth2_manual_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call constant-contact.constantcontact_api_get '{"path":"example_path","params":"example_params"}' --json
Provider shortcut
kosmo integrations:constant-contact constantcontact_api_get '{"path":"example_path","params":"example_params"}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs constant-contact --json
kosmo integrations:docs constant-contact.constantcontact_api_get --json
kosmo integrations:schema constant-contact.constantcontact_api_get --json
kosmo integrations:search "Constant Contact" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

constant-contact.constantcontact_api_get

Call a read-only Constant Contact API v3 endpoint not covered by a first-class tool.

Read read
Parameters
path, params
Generic call
kosmo integrations:call constant-contact.constantcontact_api_get '{"path":"example_path","params":"example_params"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_api_get '{"path":"example_path","params":"example_params"}' --json

constant-contact.constantcontact_api_post

Call a Constant Contact API v3 POST endpoint with a JSON payload.

Read read
Parameters
path, payload
Generic call
kosmo integrations:call constant-contact.constantcontact_api_post '{"path":"example_path","payload":"example_payload"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_api_post '{"path":"example_path","payload":"example_payload"}' --json

constant-contact.constantcontact_create_contact

Create a new contact in Constant Contact. Requires an email address. Optionally set first name, last name, and assign to lists.

Write write
Parameters
email, first_name, last_name, list_ids
Generic call
kosmo integrations:call constant-contact.constantcontact_create_contact '{"email":"example_email","first_name":"example_first_name","last_name":"example_last_name","list_ids":"example_list_ids"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_create_contact '{"email":"example_email","first_name":"example_first_name","last_name":"example_last_name","list_ids":"example_list_ids"}' --json

constant-contact.constantcontact_create_list

Create a Constant Contact contact list.

Write write
Parameters
name
Generic call
kosmo integrations:call constant-contact.constantcontact_create_list '{"name":"example_name"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_create_list '{"name":"example_name"}' --json

constant-contact.constantcontact_create_or_update_contact

Create or update a contact using Constant Contact sign_up_form semantics.

Write write
Parameters
payload
Generic call
kosmo integrations:call constant-contact.constantcontact_create_or_update_contact '{"payload":"example_payload"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_create_or_update_contact '{"payload":"example_payload"}' --json

constant-contact.constantcontact_delete_contact

Delete a Constant Contact contact by contact ID.

Write write
Parameters
contact_id
Generic call
kosmo integrations:call constant-contact.constantcontact_delete_contact '{"contact_id":"example_contact_id"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_delete_contact '{"contact_id":"example_contact_id"}' --json

constant-contact.constantcontact_delete_list

Delete a Constant Contact contact list.

Write write
Parameters
list_id
Generic call
kosmo integrations:call constant-contact.constantcontact_delete_list '{"list_id":"example_list_id"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_delete_list '{"list_id":"example_list_id"}' --json

constant-contact.constantcontact_get_account_summary

Get Constant Contact account summary details.

Read read
Parameters
params
Generic call
kosmo integrations:call constant-contact.constantcontact_get_account_summary '{"params":"example_params"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_account_summary '{"params":"example_params"}' --json

constant-contact.constantcontact_get_activity

Get status for a Constant Contact bulk activity.

Read read
Parameters
activity_id
Generic call
kosmo integrations:call constant-contact.constantcontact_get_activity '{"activity_id":"example_activity_id"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_activity '{"activity_id":"example_activity_id"}' --json

constant-contact.constantcontact_get_campaign

Get a Constant Contact email campaign by campaign ID.

Read read
Parameters
campaign_id
Generic call
kosmo integrations:call constant-contact.constantcontact_get_campaign '{"campaign_id":"example_campaign_id"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_campaign '{"campaign_id":"example_campaign_id"}' --json

constant-contact.constantcontact_get_campaign_activity

Get a Constant Contact email campaign activity by activity ID.

Read read
Parameters
activity_id
Generic call
kosmo integrations:call constant-contact.constantcontact_get_campaign_activity '{"activity_id":"example_activity_id"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_campaign_activity '{"activity_id":"example_activity_id"}' --json

constant-contact.constantcontact_get_contact

Get detailed information for a single Constant Contact contact by ID, including email, name, phone, address, and list memberships.

Read read
Parameters
contact_id
Generic call
kosmo integrations:call constant-contact.constantcontact_get_contact '{"contact_id":"example_contact_id"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_contact '{"contact_id":"example_contact_id"}' --json

constant-contact.constantcontact_get_contact_activity_summary

Get recent campaign activity summary for a contact.

Read read
Parameters
contact_id
Generic call
kosmo integrations:call constant-contact.constantcontact_get_contact_activity_summary '{"contact_id":"example_contact_id"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_contact_activity_summary '{"contact_id":"example_contact_id"}' --json

constant-contact.constantcontact_get_current_user

Get Constant Contact account summary information. The slug is retained for backward compatibility.

Read read
Parameters
none
Generic call
kosmo integrations:call constant-contact.constantcontact_get_current_user '{}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_current_user '{}' --json

constant-contact.constantcontact_get_email_bounces_report

Get bounces tracking report for an email campaign activity.

Read read
Parameters
activity_id, params
Generic call
kosmo integrations:call constant-contact.constantcontact_get_email_bounces_report '{"activity_id":"example_activity_id","params":"example_params"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_email_bounces_report '{"activity_id":"example_activity_id","params":"example_params"}' --json

constant-contact.constantcontact_get_email_clicks_report

Get clicks tracking report for an email campaign activity.

Read read
Parameters
activity_id, params
Generic call
kosmo integrations:call constant-contact.constantcontact_get_email_clicks_report '{"activity_id":"example_activity_id","params":"example_params"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_email_clicks_report '{"activity_id":"example_activity_id","params":"example_params"}' --json

constant-contact.constantcontact_get_email_sends_report

Get sends tracking report for an email campaign activity.

Read read
Parameters
activity_id, params
Generic call
kosmo integrations:call constant-contact.constantcontact_get_email_sends_report '{"activity_id":"example_activity_id","params":"example_params"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_email_sends_report '{"activity_id":"example_activity_id","params":"example_params"}' --json

constant-contact.constantcontact_get_list

Get a Constant Contact contact list by ID.

Read read
Parameters
list_id
Generic call
kosmo integrations:call constant-contact.constantcontact_get_list '{"list_id":"example_list_id"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_list '{"list_id":"example_list_id"}' --json

constant-contact.constantcontact_get_segment

Get a Constant Contact segment by ID.

Read read
Parameters
segment_id
Generic call
kosmo integrations:call constant-contact.constantcontact_get_segment '{"segment_id":"example_segment_id"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_segment '{"segment_id":"example_segment_id"}' --json

constant-contact.constantcontact_get_user_privileges

Get Constant Contact user privileges for the current access token.

Read read
Parameters
none
Generic call
kosmo integrations:call constant-contact.constantcontact_get_user_privileges '{}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_get_user_privileges '{}' --json

constant-contact.constantcontact_list_activities

List Constant Contact bulk activities.

Read read
Parameters
params
Generic call
kosmo integrations:call constant-contact.constantcontact_list_activities '{"params":"example_params"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_list_activities '{"params":"example_params"}' --json

constant-contact.constantcontact_list_campaigns

List email campaigns from Constant Contact. Supports cursor-based pagination.

Read read
Parameters
limit, cursor
Generic call
kosmo integrations:call constant-contact.constantcontact_list_campaigns '{"limit":1,"cursor":"example_cursor"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_list_campaigns '{"limit":1,"cursor":"example_cursor"}' --json

constant-contact.constantcontact_list_contacts

List contacts from Constant Contact. Supports pagination and filtering by status (active, unconfirmed, opted_out, non_subscriber).

Read read
Parameters
limit, cursor, status
Generic call
kosmo integrations:call constant-contact.constantcontact_list_contacts '{"limit":1,"cursor":"example_cursor","status":"example_status"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_list_contacts '{"limit":1,"cursor":"example_cursor","status":"example_status"}' --json

constant-contact.constantcontact_list_custom_fields

List Constant Contact contact custom fields.

Read read
Parameters
none
Generic call
kosmo integrations:call constant-contact.constantcontact_list_custom_fields '{}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_list_custom_fields '{}' --json

constant-contact.constantcontact_list_lists

List all contact lists in Constant Contact. Returns list IDs, names, and membership counts. Use list IDs when creating contacts.

Read read
Parameters
none
Generic call
kosmo integrations:call constant-contact.constantcontact_list_lists '{}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_list_lists '{}' --json

constant-contact.constantcontact_list_segments

List Constant Contact segments.

Read read
Parameters
params
Generic call
kosmo integrations:call constant-contact.constantcontact_list_segments '{"params":"example_params"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_list_segments '{"params":"example_params"}' --json

constant-contact.constantcontact_list_tags

List Constant Contact contact tags.

Read read
Parameters
none
Generic call
kosmo integrations:call constant-contact.constantcontact_list_tags '{}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_list_tags '{}' --json

constant-contact.constantcontact_update_contact

Update a Constant Contact contact by contact ID.

Write write
Parameters
contact_id, payload
Generic call
kosmo integrations:call constant-contact.constantcontact_update_contact '{"contact_id":"example_contact_id","payload":"example_payload"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_update_contact '{"contact_id":"example_contact_id","payload":"example_payload"}' --json

constant-contact.constantcontact_update_list

Update a Constant Contact contact list.

Write write
Parameters
list_id, payload
Generic call
kosmo integrations:call constant-contact.constantcontact_update_list '{"list_id":"example_list_id","payload":"example_payload"}' --json
Shortcut
kosmo integrations:constant-contact constantcontact_update_list '{"list_id":"example_list_id","payload":"example_payload"}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

constant-contact.constantcontact_api_get 2 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_api_get --json
ParameterTypeRequiredDescription
path string yes API path such as /account/summary or /reports/email_reports/{activity_id}/tracking/opens.
params object no Query parameters.
constant-contact.constantcontact_api_post 2 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_api_post --json
ParameterTypeRequiredDescription
path string yes API path such as /activities/contact_exports.
payload object no JSON request body.
constant-contact.constantcontact_create_contact 4 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_create_contact --json
ParameterTypeRequiredDescription
email string yes The contact's email address.
first_name string no The contact's first name.
last_name string no The contact's last name.
list_ids array no Array of list UUIDs to add the contact to. Use list_contacts or list_lists to discover available list IDs.
constant-contact.constantcontact_create_list 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_create_list --json
ParameterTypeRequiredDescription
name string yes List name.
constant-contact.constantcontact_create_or_update_contact 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_create_or_update_contact --json
ParameterTypeRequiredDescription
payload object yes Constant Contact sign_up_form contact payload.
constant-contact.constantcontact_delete_contact 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_delete_contact --json
ParameterTypeRequiredDescription
contact_id string yes Contact ID.
constant-contact.constantcontact_delete_list 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_delete_list --json
ParameterTypeRequiredDescription
list_id string yes Contact list ID.
constant-contact.constantcontact_get_account_summary 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_account_summary --json
ParameterTypeRequiredDescription
params object no Optional extra_fields such as physical_address,company_logo.
constant-contact.constantcontact_get_activity 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_activity --json
ParameterTypeRequiredDescription
activity_id string yes Bulk activity ID.
constant-contact.constantcontact_get_campaign 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_campaign --json
ParameterTypeRequiredDescription
campaign_id string yes Email campaign ID.
constant-contact.constantcontact_get_campaign_activity 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_campaign_activity --json
ParameterTypeRequiredDescription
activity_id string yes Email campaign activity ID.
constant-contact.constantcontact_get_contact 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_contact --json
ParameterTypeRequiredDescription
contact_id string yes The Constant Contact contact ID.
constant-contact.constantcontact_get_contact_activity_summary 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_contact_activity_summary --json
ParameterTypeRequiredDescription
contact_id string yes Contact ID.
constant-contact.constantcontact_get_current_user 0 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_current_user --json
ParameterTypeRequiredDescription
No parameters.
constant-contact.constantcontact_get_email_bounces_report 2 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_email_bounces_report --json
ParameterTypeRequiredDescription
activity_id string yes Email campaign activity ID.
params object no Optional limit and cursor.
constant-contact.constantcontact_get_email_clicks_report 2 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_email_clicks_report --json
ParameterTypeRequiredDescription
activity_id string yes Email campaign activity ID.
params object no Optional limit and cursor.
constant-contact.constantcontact_get_email_sends_report 2 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_email_sends_report --json
ParameterTypeRequiredDescription
activity_id string yes Email campaign activity ID.
params object no Optional limit and cursor.
constant-contact.constantcontact_get_list 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_list --json
ParameterTypeRequiredDescription
list_id string yes Contact list ID.
constant-contact.constantcontact_get_segment 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_segment --json
ParameterTypeRequiredDescription
segment_id string yes Segment ID.
constant-contact.constantcontact_get_user_privileges 0 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_get_user_privileges --json
ParameterTypeRequiredDescription
No parameters.
constant-contact.constantcontact_list_activities 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_list_activities --json
ParameterTypeRequiredDescription
params object no Optional status filter.
constant-contact.constantcontact_list_campaigns 2 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_list_campaigns --json
ParameterTypeRequiredDescription
limit integer no Maximum number of campaigns to return per page (default: 50).
cursor string no Pagination cursor from a previous response to fetch the next page of results.
constant-contact.constantcontact_list_contacts 3 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_list_contacts --json
ParameterTypeRequiredDescription
limit integer no Maximum number of contacts to return per page (default: 50, max: 500).
cursor string no Pagination cursor from a previous response to fetch the next page of results.
status string no Filter contacts by status: "all", "active", "unconfirmed", "opted_out", or "non_subscriber".
constant-contact.constantcontact_list_custom_fields 0 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_list_custom_fields --json
ParameterTypeRequiredDescription
No parameters.
constant-contact.constantcontact_list_lists 0 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_list_lists --json
ParameterTypeRequiredDescription
No parameters.
constant-contact.constantcontact_list_segments 1 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_list_segments --json
ParameterTypeRequiredDescription
params object no Optional limit, cursor, and status filters.
constant-contact.constantcontact_list_tags 0 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_list_tags --json
ParameterTypeRequiredDescription
No parameters.
constant-contact.constantcontact_update_contact 2 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_update_contact --json
ParameterTypeRequiredDescription
contact_id string yes Contact ID.
payload object yes Contact payload fields.
constant-contact.constantcontact_update_list 2 parameters
Schema command
kosmo integrations:schema constant-contact.constantcontact_update_list --json
ParameterTypeRequiredDescription
list_id string yes Contact list ID.
payload object yes Contact list payload.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.