Meta Business Agent
Create a UI skill
POSThttps:/ / zernio.com/ api/ v1/ accounts/ {accountId}/ business-agent/ ui-skills
Tells the agent when to send a rich component (CTA URL button, image, carousel, list, reply buttons, location, Flow) and what to put in it. Not idempotent.
Authentication
AuthorizationBearer tokenRequired
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
accountIdstringRequired
WhatsApp social account id (the number must be managed through the Cloud API).
Body
application/jsonWhat every request needs
component_typestringRequiredOne of
carousel_quick_reply | carousel_url | cta_url | flow | image | interactive_list | interactive_reply_buttons | location | location_requeststatusstringRequiredOne of
enabled | disabledinstructionstringRequired
When to send the component and everything needed to fill its fields.
Optional parameters2 fields
titlestring
flow_idinteger
Required for component_type flow, rejected otherwise.