Customer.io Track API
Tools that enable LLMs to interact directly with the Customer.io Track API
1.0.0Arcade Toolkit provides comprehensive tools for integrating with the Customer.io Track API, enabling effective management of customer profiles and interactions. This toolkit facilitates operations such as updating profiles, segmenting users, and logging events.
Capabilities
- Manage customer profiles, including updates, merges, and deletions.
- Add and remove devices linked to customer profiles.
- Batch process multiple requests for efficiency.
- Report custom metrics and log events for customer interactions.
- Handle anonymous event logging for unidentified users.
Secrets
Utilize the following secrets for API interactions:
CUSTOMERIO_SITE_ID: Identifier for the Customer.io site.CUSTOMERIO_API_KEY: Key for authenticating API requests.
Available tools(17)
| Tool name | Description | Secrets | |
|---|---|---|---|
Add or update a device for a customer profile.
Use this tool to add or update iOS and Android devices linked to a customer's profile. Ideal for managing multiple devices associated with a customer.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
This operation also requires path parameters.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
Note: You must also provide the required path parameters when executing.
If you need the schema, call with mode='get_request_schema' ONCE, then execute.
| 2 | ||
Add people to a manual segment by ID.
This tool adds people to a pre-existing manual segment using customer identifiers. It supports up to 1000 customer IDs per request, using identifiers like `id`, `email`, or `cio_id` based on the `id_type` query parameter. Note that this is limited to manual segments, not data-driven ones.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
This operation also requires path, query parameters.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
Note: You must also provide the required path, query parameters when executing.
If you need the schema, call with mode='get_request_schema' ONCE, then execute.
| 1 | ||
Batch process requests for people and object entities.
This tool allows batching of multiple requests involving people and object entities into a single operation. Useful for applying changes to various entities simultaneously, such as associating objects with people. Ensure request size limits are observed.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | 2 | ||
Delete a customer and all associated information.
This tool deletes a customer and their information from Customer.io. It should be called when you want to completely remove a customer from the database. Note: After deletion, customers may be accidentally recreated if new data is sent through other means. | 2 | ||
Retrieve the region and URL for Track API credentials.
Use this tool to find the appropriate region and URL necessary for Track API requests. It also provides the environment ID representing the workspace for which the credentials are valid. This is essential for setting up correct API calls. | 2 | ||
Set a user's global unsubscribe status in Customer.io.
Use this tool to set a person's global unsubscribe status to true in Customer.io, attributed to a specific email delivery. Ideal when managing unsubscribe actions outside the default subscription pathways. It helps in segmenting audiences based on unsubscribe actions. Note: For custom subscription centers, additional requests are needed to manage custom attributes. | 2 | ||
Create, update, or delete entities and manage relationships.
Use this tool to manage people or objects, including associating them with other entities. Useful for handling companies, courses, products, and more.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | 2 | ||
Merge two customer profiles into one primary profile.
Use this tool to merge two customer profiles. The primary profile remains and the secondary is deleted. Ensure the primary profile exists in Customer.io before calling this tool. The merge includes unfilled attributes, recent events, segments, and campaign journeys from the secondary to the primary.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | 2 | ||
Remove a device from a customer's profile.
This tool removes a specified device from a customer's profile in Customer.io. It should be called when you need to ensure a device is detached from a customer's profile to prevent re-adding it accidentally. | 2 | ||
Remove users from a manual segment by ID.
Use this tool to remove users from a manual segment by specifying their IDs. Note that this functionality requires each user to have an 'id' attribute, and cannot be used for data-driven segments.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
This operation also requires path, query parameters.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
Note: You must also provide the required path, query parameters when executing.
If you need the schema, call with mode='get_request_schema' ONCE, then execute.
| 2 | ||
Report metrics from non-native Customer.io channels.
Use this tool to report metrics from channels not supported natively by Customer.io or those not using their SDKs. It is useful for tracking user interactions like clicks or conversions using the CIO-Delivery-ID as a UTM parameter.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | 2 | ||
Send an event associated with a customer by identifier.
This tool sends an event tied to a specific customer, identified by a unique identifier. Events can be page views, screen views, or custom events. Use this tool to track customer interactions on websites or apps, ensuring events are associated with the correct customer profile. Reserved properties can override campaign settings if included.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
This operation also requires path parameters.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
Note: You must also provide the required path parameters when executing.
If you need the schema, call with mode='get_request_schema' ONCE, then execute.
| 2 | ||
Submit and record form responses with Customer.io.
Use this tool to submit form responses to Customer.io. It creates or updates a form connection if the `form_id` is unfamiliar. Ensure `data` includes identifiers like `id` or `email` to recognize the respondent. Additional data fields map directly to user attributes.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
This operation also requires path parameters.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
Note: You must also provide the required path parameters when executing.
If you need the schema, call with mode='get_request_schema' ONCE, then execute.
| 2 | ||
Permanently delete and suppress a customer profile.
This tool deletes a customer profile and suppresses the person's identifier(s) to prevent future re-addition. Use mainly for GDPR/CCPA compliance. Once suppressed, the profile cannot be recovered. If suppression is not necessary, consider other subscription preference attributes. | 1 | ||
Log anonymous events for unidentified users.
Use this tool to log anonymous events for individuals who have not been identified yet. Events can be of type `page`, `screen`, or `event` and are useful for tracking website page views, app screen views, or other activities. Helps in associating events with users for triggering campaigns if merged later.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
If you need the schema, call with mode='get_request_schema' ONCE, then execute. | 2 | ||
Unsuppress a customer profile in Customer.io.
Use this tool to unsuppress a customer profile, making the identifier available again in Customer.io. This will not restore previous profile data, only make the identifier reusable. | 2 | ||
Add or update a person's information in the database.
Use this tool to add a new person or update existing person details based on identifiers. If no individual is found with the given identifiers, a new person is added. If existing identifiers match, the person's information is updated. For identifier updates, use `cio_id`. If identifiers conflict, the request may result in an Attribute Update Failure warning.
Note: Understanding the request schema is necessary to properly create
the stringified JSON input object for execution.
This operation also requires path parameters.
Modes:
- GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't
already have it. Do NOT call repeatedly if you already received
the schema.
- EXECUTE: Performs the operation with the provided request body
JSON.
Note: You must also provide the required path parameters when executing.
If you need the schema, call with mode='get_request_schema' ONCE, then execute.
| 1 |
Selected tools
No tools selected.
Click "Show all tools" to add tools.
Requirements
Select tools to see requirements
CustomerioTrackApi.AddDeviceToCustomerProfile
Add or update a device for a customer profile. Use this tool to add or update iOS and Android devices linked to a customer's profile. Ideal for managing multiple devices associated with a customer. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
unique_person_identifier | string | Optional | A unique identifier for a person, such as `id`, `email`, or `cio_id` prefixed with `cio_`. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'add_device'.CustomerioTrackApi.AddPeopleToSegment
Add people to a manual segment by ID. This tool adds people to a pre-existing manual segment using customer identifiers. It supports up to 1000 customer IDs per request, using identifiers like `id`, `email`, or `cio_id` based on the `id_type` query parameter. Note that this is limited to manual segments, not data-driven ones. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
segment_identifier | integer | Optional | The unique identifier for a manual segment. This can be found on its page in the dashboard or via the App API. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
identifier_type | string | Optional | Specifies the type of identifiers in the `ids` array, such as `id`, `email`, or `cio_id`. Defaults to `id`. Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'add_to_segment'.CustomerioTrackApi.BatchProcessRequests
Batch process requests for people and object entities. This tool allows batching of multiple requests involving people and object entities into a single operation. Useful for applying changes to various entities simultaneously, such as associating objects with people. Ensure request size limits are observed. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'batch'.CustomerioTrackApi.DeleteCustomer
Delete a customer and all associated information. This tool deletes a customer and their information from Customer.io. It should be called when you want to completely remove a customer from the database. Note: After deletion, customers may be accidentally recreated if new data is sent through other means.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_identifier | string | Required | The unique identifier for a person, which can be an ID, email, or 'cio_id'. Use 'cio_' prefix for 'cio_id'. |
Requirements
Output
json— Response from the API endpoint 'delete'.CustomerioTrackApi.GetTrackApiRegion
Retrieve the region and URL for Track API credentials. Use this tool to find the appropriate region and URL necessary for Track API requests. It also provides the environment ID representing the workspace for which the credentials are valid. This is essential for setting up correct API calls.
Parameters
No parameters required.
Requirements
Output
json— Response from the API endpoint 'getRegion'.CustomerioTrackApi.GlobalUnsubscribeUser
Set a user's global unsubscribe status in Customer.io. Use this tool to set a person's global unsubscribe status to true in Customer.io, attributed to a specific email delivery. Ideal when managing unsubscribe actions outside the default subscription pathways. It helps in segmenting audiences based on unsubscribe actions. Note: For custom subscription centers, additional requests are needed to manage custom attributes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
delivery_id_for_unsubscription | string | Required | The unique identifier of the delivery associated with the unsubscription request. This links the unsubscribe action to a specific email or message delivery. |
set_unsubscribed_attribute | boolean | Optional | If true, sets a person's `unsubscribed` attribute to true, associated with a specific delivery. |
Requirements
Output
json— Response from the API endpoint 'unsubscribe'.CustomerioTrackApi.ManageEntity
Create, update, or delete entities and manage relationships. Use this tool to manage people or objects, including associating them with other entities. Useful for handling companies, courses, products, and more. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'entity'.CustomerioTrackApi.MergeCustomerProfiles
Merge two customer profiles into one primary profile. Use this tool to merge two customer profiles. The primary profile remains and the secondary is deleted. Ensure the primary profile exists in Customer.io before calling this tool. The merge includes unfilled attributes, recent events, segments, and campaign journeys from the secondary to the primary. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'merge'.CustomerioTrackApi.RemoveCustomerDevice
Remove a device from a customer's profile. This tool removes a specified device from a customer's profile in Customer.io. It should be called when you need to ensure a device is detached from a customer's profile to prevent re-adding it accidentally.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_identifier | string | Required | Unique identifier for a person in the system. Can be `id`, `email`, or `cio_id` (prefixed with `cio_`). |
device_unique_id | string | Required | The ID representing the device to be removed from the customer's profile. |
Requirements
Output
json— Response from the API endpoint 'delete_device'.CustomerioTrackApi.RemoveUserFromSegment
Remove users from a manual segment by ID. Use this tool to remove users from a manual segment by specifying their IDs. Note that this functionality requires each user to have an 'id' attribute, and cannot be used for data-driven segments. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path, query parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path, query parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
segment_identifier | integer | Optional | The unique identifier for the segment. Found on the segment's page in the dashboard under 'Usage'. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
identification_type | string | Optional | The type of identifiers used for the users to be removed. Options are 'id', 'email', or 'cio_id'. Defaults to 'id' if not specified. Only used when mode is 'execute'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'remove_from_segment'.CustomerioTrackApi.ReportCustomMetrics
Report metrics from non-native Customer.io channels. Use this tool to report metrics from channels not supported natively by Customer.io or those not using their SDKs. It is useful for tracking user interactions like clicks or conversions using the CIO-Delivery-ID as a UTM parameter. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'metrics'.CustomerioTrackApi.SendCustomerEvent
Send an event associated with a customer by identifier. This tool sends an event tied to a specific customer, identified by a unique identifier. Events can be page views, screen views, or custom events. Use this tool to track customer interactions on websites or apps, ensuring events are associated with the correct customer profile. Reserved properties can override campaign settings if included. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
customer_identifier | string | Optional | A unique identifier for a person, such as `id`, `email`, or `cio_id`, depending on workspace settings. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'track'.CustomerioTrackApi.SubmitFormResponse
Submit and record form responses with Customer.io. Use this tool to submit form responses to Customer.io. It creates or updates a form connection if the `form_id` is unfamiliar. Ensure `data` includes identifiers like `id` or `email` to recognize the respondent. Additional data fields map directly to user attributes. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
form_identifier | string | Optional | The unique identifier for the form. If unrecognized, a new form connection is created. Choose a meaningful or traceable value. Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'submitForm'.CustomerioTrackApi.SuppressCustomerProfile
Permanently delete and suppress a customer profile. This tool deletes a customer profile and suppresses the person's identifier(s) to prevent future re-addition. Use mainly for GDPR/CCPA compliance. Once suppressed, the profile cannot be recovered. If suppression is not necessary, consider other subscription preference attributes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
unique_person_identifier | string | Required | The unique identifier for a customer, which can be an ID, email, or 'cio_id' (prefixed with 'cio_'). |
Requirements
Output
json— Response from the API endpoint 'suppress'.CustomerioTrackApi.TrackAnonymousEvent
Log anonymous events for unidentified users. Use this tool to log anonymous events for individuals who have not been identified yet. Events can be of type `page`, `screen`, or `event` and are useful for tracking website page views, app screen views, or other activities. Helps in associating events with users for triggering campaigns if merged later. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'trackAnonymous'.CustomerioTrackApi.UnsuppressCustomerProfile
Unsuppress a customer profile in Customer.io. Use this tool to unsuppress a customer profile, making the identifier available again in Customer.io. This will not restore previous profile data, only make the identifier reusable.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
customer_identifier | string | Required | The unique identifier for a customer, which can be an ID, email, or prefixed cio_id, based on workspace settings. |
Requirements
Output
json— Response from the API endpoint 'unsuppress'.CustomerioTrackApi.UpdateOrAddPerson
Add or update a person's information in the database. Use this tool to add a new person or update existing person details based on identifiers. If no individual is found with the given identifiers, a new person is added. If existing identifiers match, the person's information is updated. For identifier updates, use `cio_id`. If identifiers conflict, the request may result in an Attribute Update Failure warning. Note: Understanding the request schema is necessary to properly create the stringified JSON input object for execution. This operation also requires path parameters. Modes: - GET_REQUEST_SCHEMA: Returns the schema. Only call if you don't already have it. Do NOT call repeatedly if you already received the schema. - EXECUTE: Performs the operation with the provided request body JSON. Note: You must also provide the required path parameters when executing. If you need the schema, call with mode='get_request_schema' ONCE, then execute.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
mode | string | Required | Operation mode: 'get_request_schema' returns the OpenAPI spec for the request body, 'execute' performs the actual operationget_request_schemaexecute |
person_identifier | string | Optional | The unique value used to identify a person, such as an ID, email, or `cio_id` (with `cio_` prefix for updates). Required when mode is 'execute', ignored when mode is 'get_request_schema'. |
request_body | string | Optional | Stringified JSON representing the request body. Required when mode is 'execute', ignored when mode is 'get_request_schema' |
Requirements
Output
json— Response from the API endpoint 'identify'.