01
Fetch WABA Connections GET https://prepbot-api.prepseed.com/api/whatsapp/connections API key requiredRequest & response
cURL Example response
curl -X GET 'https://prepbot-api.prepseed.com/api/whatsapp/connections' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' Sandbox — simulated response, no request leaves your browserRequest preview
GET /api/whatsapp/connections
Send (simulated)This sandbox never calls the live API. Click “Send” to see a simulated response here — nothing is sent over the network.
02
Fetch All Phone Numbers GET https://prepbot-api.prepseed.com/api/whatsapp/phone-numbers API key requiredRequest & response
cURL Example response
curl -X GET 'https://prepbot-api.prepseed.com/api/whatsapp/phone-numbers' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' Sandbox — simulated response, no request leaves your browserRequest preview
GET /api/whatsapp/phone-numbers
Send (simulated)This sandbox never calls the live API. Click “Send” to see a simulated response here — nothing is sent over the network.
03
Fetch WABA-Specific Phone Numbers GET https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/phone-numbers API key requiredReplace :wabaId with your WABA document ID or Meta business account ID.
Request & response
cURL Example response
curl -X GET 'https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/phone-numbers' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' Sandbox — simulated response, no request leaves your browserRequest preview
GET /api/whatsapp/:wabaId/phone-numbers
Send (simulated)This sandbox never calls the live API. Click “Send” to see a simulated response here — nothing is sent over the network.
04
Setup WABA webhooks (Meta) POST https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/webhooks/setup API key requiredSubscribe Meta webhooks for inbound messages and delivery events. Business API (Cloud API) only — run after connecting WABA.
Request & response
cURL Example response
curl -X POST 'https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/webhooks/setup' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' Sandbox — simulated response, no request leaves your browserRequest preview
POST /api/whatsapp/:wabaId/webhooks/setup
Send (simulated)This sandbox never calls the live API. Click “Send” to see a simulated response here — nothing is sent over the network.
05
Sync workspace from Meta POST https://prepbot-api.prepseed.com/api/whatsapp/workspace/sync API key requiredRefreshes phone numbers from Meta. Also re-syncs Marketing Messages API onboarding status.
Request & response
cURL Example response
curl -X POST 'https://prepbot-api.prepseed.com/api/whatsapp/workspace/sync' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' Sandbox — simulated response, no request leaves your browserRequest preview
POST /api/whatsapp/workspace/sync
Send (simulated)This sandbox never calls the live API. Click “Send” to see a simulated response here — nothing is sent over the network.
06
Get Marketing Messages API settings GET https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/marketing-messages API key requiredPer-WABA settings for Meta Marketing Messages API (MM Lite). MARKETING templates are routed to /marketing_messages when enabled (default).
Request & response
cURL Example response
curl -X GET 'https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/marketing-messages' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' Sandbox — simulated response, no request leaves your browserRequest preview
GET /api/whatsapp/:wabaId/marketing-messages
Send (simulated)This sandbox never calls the live API. Click “Send” to see a simulated response here — nothing is sent over the network.
07
Update Marketing Messages API settings PUT https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/marketing-messages API key requiredproduct_policy CLOUD_API_FALLBACK sends via Cloud API when the WABA is not yet onboarded to MM API. STRICT fails instead of falling back.
Request & response
cURL JSON body Example response
curl -X PUT 'https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/marketing-messages' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"enabled": true,
"product_policy": "CLOUD_API_FALLBACK",
"activity_sharing": null
}' Sandbox — simulated response, no request leaves your browserRequest preview
PUT /api/whatsapp/:wabaId/marketing-messages
Send (simulated)This sandbox never calls the live API. Click “Send” to see a simulated response here — nothing is sent over the network.
08
Sync Marketing Messages onboarding status POST https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/marketing-messages/sync-status API key requiredFetches marketing_messages_onboarding_status from Meta. Runs automatically when you connect or sync a WABA.
Request & response
cURL Example response
curl -X POST 'https://prepbot-api.prepseed.com/api/whatsapp/:wabaId/marketing-messages/sync-status' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' Sandbox — simulated response, no request leaves your browserRequest preview
POST /api/whatsapp/:wabaId/marketing-messages/sync-status
Send (simulated)This sandbox never calls the live API. Click “Send” to see a simulated response here — nothing is sent over the network.