Resources
Everything on the client, by resource.
Every method answers with the API's answer, typed. List methods answer with a PageList.
| Property | For |
|---|---|
goomzo.messages | Send, read and cancel messages. See Send messages. |
goomzo.broadcasts | list, get, create and cancel broadcasts. |
goomzo.templates | Saved templates. See Send templates. |
goomzo.whatsapp.templates | The templates on your WhatsApp account. |
goomzo.customers | Customers, their segments and activity. See Customers. |
goomzo.activity | record customer activity, by phone, email or id. |
goomzo.segments | Segments, and the customers in them. |
goomzo.webhookEndpoints | Your webhook endpoints. See Webhooks. |
Types
Every request and answer is exported as a type, such as Message, Customer and MessageTemplate. The full API
is there too, as paths and components:
import type { Customer, components } from '@goomzo/sdk'
type Broadcast = components['schemas']['Broadcast']Last updated