Parameters
| Name | Type | Required | Description |
|---|---|---|---|
brandId | string | Yes | Ocoya brand id from ocoya_list_brands. |
statuses | string[] | No | Only emails with these statuses. |
query | string | No | Search by name or subject. |
campaignId | string | No | Only the emails of this email campaign. |
standalone | boolean | No | Only emails that are not part of a campaign. |
page | number | No | Zero-based page number. Defaults to 0. |
perPage | number | No | Emails per page, up to 100. Defaults to 20. |
Request example
{
"name": "ocoya_list_emails",
"arguments": {
"brandId": "cmayvq3hk00017apshay5qezu",
"query": "launch"
}
}Returns
Returns the result of the call as JSON. This tool only reads: it changes nothing in Ocoya.