Parameters
| Name | Type | Required | Description |
|---|---|---|---|
brandId | string | Yes | Ocoya brand id from ocoya_list_brands. |
email | string | Yes | — |
firstName | string | No | — |
lastName | string | No | — |
properties | object | No | Extra fields (strings, numbers, booleans), merged into the contact’s. |
groups | string[] | No | Group names to put the contact in; missing groups are created. |
consentText | string | No | How the person agreed, kept as their consent record. |
Request example
{
"name": "ocoya_create_contact",
"arguments": {
"brandId": "cmayvq3hk00017apshay5qezu",
"email": "jane@example.com"
}
}Returns
Returns the result of the call as JSON.