WPP Marketing
Language and currency
Log in
Plans
Customers
Customer case studiesReal stories with features and modules used. Fashion & accessoriesCart, repurchase, launches and order notifications. FootwearNumbering, exchanges, cart and seasonal campaigns. Bags & handbagsConsultative support, offers and sales recovery. Beauty & cosmeticsRestocking, kits, coupons and post-purchase engagement. PerfumerySpecial dates, repurchase and preference-based campaigns. Health & supplementsRecurring campaigns, repurchase reminders and targeted campaigns. Home & DecorConsultative support, cart and delivery status. FurnitureQuotes, pre-purchase questions and order tracking. Household utilitiesPromotions, product questions and recurring orders. Electronics & ComputersPre-purchase, pending payment and order notifications. Cell phones & accessoriesCompatibility, offers and cart recovery. Pet shopRecurring repurchase, campaigns and post-sale for pet products. Food & BeveragePromotions, recurring orders and fast communication. Babies & MaternityRestocking, bundles, kits and recurring communication. Sports & FitnessOffers by interest, repurchase and order follow-up. Jewelry and semi-jewelryHigh-value support, coupons, and sales recovery. Eyewear & AccessoriesConsultative support, orders, and repurchase campaigns. Stationery & giftsHolidays, lists, and segmented campaigns. Auto parts & accessoriesQuotes, compatibility, payment and order status. Tools & buildingQuotes, technical questions and cart recovery. Digital productsAccess, onboarding, renewal and post-purchase. Marketplaces and multi-brand storesCampaigns by category, segmented base and recurrence.
Search the site
Language and currency
API Developer

Messaging API to integrate WhatsApp with your ERP, CRM or system.

WPP Marketing's Developer API allows ERPs, CRMs, custom stores or internal systems to send messages via WhatsApp and retrieve message histories and webhook delivery records using REST endpoints, bearer token authentication and Swagger documentation.

When to use

Use the messaging API when your system needs to send WhatsApp messages.

The API Developer is intended for ERP, CRM, custom store, backoffice, or proprietary systems that need to initiate messages. Commercial events and delivery status callbacks use, respectively, the Events API and status webhooks.

01 Authenticate

Use the bearer token generated in the dashboard to authorize server-to-server calls.

02 Send message

Send operational messages within WhatsApp's allowed rules and time windows.

03 View messages

View the history of sent messages and their statuses using the GET /messages endpoint.

04 Track webhooks

Configure the return events and check delivery results using the GET /webhooks endpoint.

What this page covers.

This page presents the Developer API endpoints for sending messages and querying histories. The Events API and receiving status webhooks have their own pages.

POST /send-text

Sends a text message to a WhatsApp number.

Texto
POST /send-media

Send an image, audio, video, or document using a public HTTPS URL.

Mídia
GET /messages

Check the history of sent messages with status and pagination.

Histórico
GET /webhooks

Check webhook deliveries with event, HTTP result, attempts and pagination.

Webhooks
DOC Swagger / OpenAPI

Interactive documentation with contracts, examples, required fields, and expected responses.

Docs
Technical separation

API Developer does not replace Events API or status webhooks.

Each feature has a different direction. This separation prevents brittle integrations and makes it clear who calls whom in each flow.

API Developer

Your system calls WPP Marketing to send text or media messages and to query message histories and webhook deliveries.

Events API

Your system sends commercial events such as order created, payment approved, shipment, or abandoned cart.

Status webhooks

WPP Marketing sends standardized creation, delivery, read, and error events to a URL you provide.

Documentation and Swagger

Use the interactive documentation to validate payloads, authentication, and responses before deploying to production.

Security

Tokens must stay on the backend. Do not expose credentials in public pages, front-end apps, or repositories.

Production

Log events, handle API errors, respect operational limits, and validate numbers before sensitive sends.

Ready to integrate your system with WPP Marketing?

Open the Swagger to view Messaging API endpoints, payload examples, bearer token authentication, and expected responses. For shop events and delivery feedback, also see Events API and Webhooks de status.

Open Swagger