Chatarmin integration (Marketing, Communication). Imported from open-connector.
https://api.chatarmin.com/api/public/contacts
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The page number for pagination. |
| limit | integer | optional | The number of items to return per page. |
| search | string | optional | Optional search text matched by Chatarmin against firstname, lastname, email, a… |
/contacts/{contactId}
| Param | Type | Required | Description |
|---|---|---|---|
| contactId | string | required | The Chatarmin contact ID or externalId. |
/contacts
| Param | Type | Required | Description |
|---|---|---|---|
| phone | string | required | The contact phone number in international format. |
| string | optional | The contact email address. | |
| firstname | string | required | The contact first name. |
| lastname | string | optional | The contact last name. |
| consent | string | required | The Chatarmin consent state for the contact. |
| externalId | string | optional | An external identifier to store on the contact. |
| properties | object | optional | Custom contact properties keyed by Chatarmin property name. |
/contacts/{contactId}
| Param | Type | Required | Description |
|---|---|---|---|
| contactId | string | required | The Chatarmin contact ID or externalId. |
| phone | string | optional | The contact phone number in international format. |
| string | optional | The contact email address. | |
| firstname | string | optional | The contact first name. |
| lastname | string | optional | The contact last name. |
| consent | string | optional | The Chatarmin consent state for the contact. |
| externalId | string | optional | An external identifier to store on the contact. |
| properties | object | optional | Custom contact properties keyed by Chatarmin property name. |
/contacts/{contactId}
| Param | Type | Required | Description |
|---|---|---|---|
| contactId | string | required | The Chatarmin contact ID or externalId. |
/messages/send
| Param | Type | Required | Description |
|---|---|---|---|
| phone | string | optional | The recipient phone number in international format. |
| string | optional | The recipient email address used to look up the contact. | |
| contactId | string | optional | The Chatarmin contact ID or externalId of the recipient. |
| type | string | required | The WhatsApp message type to send. |
| text | string | optional | The message body text. Required when type is text. |
| mediaUrl | string | optional | The publicly accessible media URL. Required for image, video, and document mess… |
| caption | string | optional | An optional media caption. Chatarmin supports captions up to 1024 characters. |
| fileName | string | optional | An optional file name for document messages. |
| templateName | string | optional | The exact approved WhatsApp template name. |
| language | string | optional | The WhatsApp template language code approved for the template. |
| components | array | optional | Template components used to fill dynamic template placeholders. |
/campaigns
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The page number for pagination. |
| limit | integer | optional | The number of items to return per page. |
| groupBy | string | optional | The analytics grouping period. |
| startDate | string | optional | The start date for grouped campaign metrics. |
| endDate | string | optional | The end date for grouped campaign metrics. |
/campaigns/{campaignId}
| Param | Type | Required | Description |
|---|---|---|---|
| campaignId | string | required | The Chatarmin campaign ID. |
/flows
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The page number for pagination. |
| limit | integer | optional | The number of items to return per page. |
| groupBy | string | optional | The analytics grouping period. |
| startDate | string | optional | The start date for grouped flow metrics. |
| endDate | string | optional | The end date for grouped flow metrics. |
/flows/{flowId}
| Param | Type | Required | Description |
|---|---|---|---|
| flowId | string | required | The Chatarmin flow ID. |
/flows/analytics/{flowId}
| Param | Type | Required | Description |
|---|---|---|---|
| flowId | string | required | The Chatarmin flow ID. |
| page | integer | optional | The page number for pagination. |
| limit | integer | optional | The number of items to return per page. |
| start | string | optional | The analytics start timestamp in ISO 8601 format. |
| end | string | optional | The analytics end timestamp in ISO 8601 format. |
/flows/analyticsv2/{flowId}
| Param | Type | Required | Description |
|---|---|---|---|
| flowId | string | required | The Chatarmin flow ID. |
| contactIds | array | required | Contact IDs to fetch analytics for. |
| start | string | optional | The analytics start timestamp in ISO 8601 format. |
| end | string | optional | The analytics end timestamp in ISO 8601 format. |
/voucher-pools
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The page number for pagination. |
| limit | integer | optional | The number of items to return per page. |
/voucher-pools/{poolId}
| Param | Type | Required | Description |
|---|---|---|---|
| poolId | string | required | The Chatarmin voucher pool ID. |
/voucher-pools
| Param | Type | Required | Description |
|---|---|---|---|
| poolName | string | required | The display name of the voucher pool. |
| vouchers | array | required | Voucher code strings to add to the pool. |
| reuseCodes | boolean | optional | Whether contacts who already received a code should get the same code again. |
| reminder | object | optional | Low-voucher email reminder settings. |
| emptyOptions | object | optional | Behavior settings for an empty voucher pool. |
/voucher-pools/{poolId}
| Param | Type | Required | Description |
|---|---|---|---|
| poolId | string | required | The Chatarmin voucher pool ID. |
| poolName | string | optional | The display name of the voucher pool. |
| vouchers | array | optional | Voucher code strings to add to the pool. |
| reuseCodes | boolean | optional | Whether contacts who already received a code should get the same code again. |
| reminder | object | optional | Low-voucher email reminder settings. |
| emptyOptions | object | optional | Behavior settings for an empty voucher pool. |
/voucher-pools/{poolId}/vouchers
| Param | Type | Required | Description |
|---|---|---|---|
| poolId | string | required | The Chatarmin voucher pool ID. |
| codes | array | optional | Voucher code strings to add to the pool. |
| replaceCode | object | optional | An unused voucher code replacement. |
/voucher-pools/{poolId}/vouchers/{code}
| Param | Type | Required | Description |
|---|---|---|---|
| poolId | string | required | The Chatarmin voucher pool ID. |
| code | string | required | The voucher code string to remove. |
/voucher-pools/{poolId}
| Param | Type | Required | Description |
|---|---|---|---|
| poolId | string | required | The Chatarmin voucher pool ID. |
/webhooks
/webhooks
| Param | Type | Required | Description |
|---|---|---|---|
| url | string | optional | The webhook target URL. |
| topic | string | optional | The Chatarmin webhook topic. |
/webhooks/{webhookId}
| Param | Type | Required | Description |
|---|---|---|---|
| webhookId | string | required | The Chatarmin webhook ID. |
| url | string | optional | The webhook target URL. |
| topic | string | optional | The Chatarmin webhook topic. |
/webhooks/{webhookId}
| Param | Type | Required | Description |
|---|---|---|---|
| webhookId | string | required | The Chatarmin webhook ID. |