Update the WhatsApp Business profile for a sender. The sender must have a WhatsApp Business Account connected.
curl --request PATCH \
--url https://api.zavu.dev/v1/senders/{senderId}/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"about": "Succulent specialists!",
"description": "We specialize in providing high-quality succulents.",
"email": "contact@example.com",
"websites": [
"https://www.example.com"
],
"vertical": "RETAIL"
}
'{
"success": true,
"profile": {
"about": "Succulent specialists!",
"address": "1 Hacker Way, Menlo Park, CA 94025",
"description": "At Lucky Shrub, we specialize in providing a diverse range of high-quality succulents.",
"email": "contact@example.com",
"profilePictureUrl": "https://pps.whatsapp.net/v/t61.24...",
"websites": [
"https://www.example.com/"
],
"vertical": "UNDEFINED"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request body to update WhatsApp Business profile.
Short description of the business (max 139 characters).
139Physical address of the business (max 256 characters).
256Extended description of the business (max 512 characters).
512Business email address.
Business website URLs (maximum 2).
2Business category for WhatsApp Business profile.
UNDEFINED, OTHER, AUTO, BEAUTY, APPAREL, EDU, ENTERTAIN, EVENT_PLAN, FINANCE, GROCERY, GOVT, HOTEL, HEALTH, NONPROFIT, PROF_SERVICES, RETAIL, TRAVEL, RESTAURANT, NOT_A_BIZ curl --request PATCH \
--url https://api.zavu.dev/v1/senders/{senderId}/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"about": "Succulent specialists!",
"description": "We specialize in providing high-quality succulents.",
"email": "contact@example.com",
"websites": [
"https://www.example.com"
],
"vertical": "RETAIL"
}
'{
"success": true,
"profile": {
"about": "Succulent specialists!",
"address": "1 Hacker Way, Menlo Park, CA 94025",
"description": "At Lucky Shrub, we specialize in providing a diverse range of high-quality succulents.",
"email": "contact@example.com",
"profilePictureUrl": "https://pps.whatsapp.net/v/t61.24...",
"websites": [
"https://www.example.com/"
],
"vertical": "UNDEFINED"
}
}