Resources

Everything on the client, by resource.

Every method answers with the API's answer, typed. List methods answer with a PageList.

PropertyFor
goomzo.messagesSend, read and cancel messages. See Send messages.
goomzo.broadcastslist, get, create and cancel broadcasts.
goomzo.templatesSaved templates. See Send templates.
goomzo.whatsapp.templatesThe templates on your WhatsApp account.
goomzo.customersCustomers, their segments and activity. See Customers.
goomzo.activityrecord customer activity, by phone, email or id.
goomzo.segmentsSegments, and the customers in them.
goomzo.webhookEndpointsYour 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