Encharge MCP by usefulapi

v1.28.1
io.usefulapi/encharge Checked 2 days ago Published 1 day ago

Manage Encharge people, tags, segments and fields, and track events for email automation.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

encharge_get_account Get account

The Encharge account behind the API key: account id, name, site, status, timezone, people count and active services. GET /accounts/info.

encharge_get_people Get people

Look up people (contacts) by email, userId or Encharge id. Pass up to 20 people, each with at least one identifier. Returns each person with all fields, tags and segment data; a person that does not exist is left out. GET /people.

ParameterTypeDescription
people *arrayPeople to look up, each with at least one of email, userId or id.

encharge_list_segment_people List people in a segment

People in one dynamic segment, with paging (limit/offset), optional sort and a choice of person fields (attributes). Use encharge_list_segments for segment ids and encharge_list_fields for field names. GET /segments/{segmentId}/people.

ParameterTypeDescription
segment_id *integerEncharge segment id (from encharge_list_segments).
attributesarrayPerson field names to return. Default: the standard fields.
limitintegerPeople per page, 1-100 (default 25).
offsetintegerNumber of people to skip (default 0). Pass the previous reply's next_offset.
orderstringSort order (default asc).
sortstringPerson field name to sort by.

encharge_upsert_person Create or update a person

WRITE: create a person, or update the one that already has this email, userId or Encharge id. Only the fields you pass are set. Use encharge_add_tags for tags. POST /people.

ParameterTypeDescription
emailstringEmail address of the person.
fieldsobjectOther person fields by field name (see encharge_list_fields), for example { "company": "Acme", "plan": "pro" }. Dates as ISO 8601.
firstNamestringFirst name.
idstringEncharge id of the person (a UUID).
lastNamestringLast name.
userIdstringThe userId your own app uses for the person.

encharge_unsubscribe_person Unsubscribe a person

WRITE: unsubscribe one person so Encharge sends them no more email. The person stays in Encharge. Identify them by email, userId or Encharge id. POST /people/unsubscribe.

ParameterTypeDescription
emailstringEmail address of the person.
idstringEncharge id of the person (a UUID).
userIdstringThe userId your own app uses for the person.

encharge_add_tags Add tags to a person

WRITE: add one or more tags to an existing person. Tags that do not exist yet are created. POST /tags.

ParameterTypeDescription
tags *arrayTag names. A tag name cannot contain a comma.
emailstringEmail address of the person.
idstringEncharge id of the person (a UUID).
userIdstringThe userId your own app uses for the person.

encharge_remove_tags Remove tags from a person

WRITE: remove one or more tags from an existing person. The tags themselves are not deleted. DELETE /tags.

ParameterTypeDescription
tags *arrayTag names. A tag name cannot contain a comma.
emailstringEmail address of the person.
idstringEncharge id of the person (a UUID).
userIdstringThe userId your own app uses for the person.

encharge_list_segments List segments

List the dynamic segments of the account with id, name and conditions. Use the ids with encharge_list_segment_people. GET /segments.

encharge_list_fields List person fields

List all person fields (built-in and custom) with name, title, type and whether the field is read-only. Use the names in encharge_upsert_person. GET /fields.

encharge_track_event Track an event

WRITE: record an event for a person through the Ingest API, for example "Registered user" or "Created Page". The person is created or updated from `user`. Use the event name "identify" to only create or update a person. Needs the account write key. POST https://ingest.encharge.io/v1/.

ParameterTypeDescription
name *stringEvent name.
emailstringEmail address of the person.
propertiesobjectProperties of the event; values may be nested objects, for example { "plan": "Premium", "trial": { "length": 14 } }. Dates as ISO 8601.
tagsarrayTags to add to the person.
userIdstringThe userId your own app uses for the person.
user_fieldsobjectPerson fields to set on this person, by field name.