1MSG

Получение информации о профиле

GET
/me

Возвращает профиль WhatsApp Business канала: About, адрес, описание, email, телефон, сайты, отрасль (vertical) и URL фото.

Authorization

JWT token
querytoken<token>

Response Body

Пример ответа сервера

application/json
  1. response
about?string

Раздел Описание.

address?string

Адрес компании

description?string

Описание. Максимум 256 символов

email?string

Email

phone?string

Связанный номер телефона

vertical?string

Industry 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"}