ReferenceWhatsApp Business API
Получение информации о профиле
GET
Возвращает профиль WhatsApp Business канала: About, адрес, описание, email, телефон, сайты, отрасль (vertical) и URL фото.
JWT tokenquery
token<token>Пример ответа сервера
application/json- response
about?stringРаздел Описание.
address?stringАдрес компании
description?stringОписание. Максимум 256 символов
email?stringphone?stringСвязанный номер телефона
vertical?stringIndustry of the business
Value in
"Automotive""Beauty, Spa and Salon""Clothing and Apparel""Education""Entertainment""Event Planning and Service""Finance and Banking""Food and Grocery""Public Service""Hotel and Lodging""Medical and Health""Non-profit""Professional Services""Shopping and Retail""Travel and Transportation""Restaurant""Other"photo?stringСсылка на файл, например https://...
Или файл в base64, например data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ...
Или файл в поле формы
curl -X GET 'https://api.1msg.io/123/me'{ "about": "Some about info", "address": "Neverland, Unexpected st.", "description": "Some company description", "email": "[email protected]", "phone": "78005553535", "vertical": "Other", "photo": "https://pps.whatsapp.net/sample.jpg"}