Links

WABA Profile Info

In the 360dialog Client Hub

The client can update their WABA profile information in their 360dialog Client Hub.
To access the options, in 360dialog Client Hub v1, they need to click on Show details in the specific account they wish to edit and click on the Profile tab.
On 360dialog Client Hub v2, users can manage their Profile Info on the WABA manager page.

In the API

You can use the following endpoints to update WhatsApp Account about, photo and business profile information.
The [base-path] may differ depending on your hosted zone and type.
Every request to WhatsApp API needs to be authorized using API Key authentication. Adding theD360-API-KEY header with your API Key as a value will give you permission.

If the WABA is registered in On-premise API

About section

get
https://[base-path]
/v1/settings/profile/about
Retrieve About section for a specific channel
patch
https://[base-path]
/v1/settings/profile/about
Set About section for a specific channel

Profile Photo

get
https://[base-path]
/v1/settings/profile/photo
Retrieve Photo for a specific channel in base64-encoded binary format
get
https://[base-path]
/v1/settings/profile/photo
Retrieve Photo URL for a specific channel
post
https://[base-path]
/v1/settings/profile/photo
Update Photo for a specific channel using base64-encoded binary format image
Example in Postman

Business Profile information

get
https://[base-path]
/v1/settings/business/profile
Retrieve Business Profile information
post
https://[base-path]
/v1/settings/business/profile
Update Business Profile information

If the WABA is registered in Cloud API

See below the endpoints for retrieving and updating Business Profile information for Cloud API hosting. Please also refer to Meta's Official Documentation.

Profile Photo and Business Profile information

get
https://[base-path]
/whatsapp_business_profile?fields=address,description,email,profile_picture_url,websites,vertical
Retrieve Business Profile information
post
https://[base-path]
/whatsapp_business_profile
Update Business Profile information

Resumable Upload API for Profile Pictures

The Resumable Upload API allows you to upload profile pictures and essentially large files to the Cloud API. Once uploaded, you can use a file's handle fetched in step 2 to update your profile_picture_handle.
Please note that to access and utilize the Resumable Upload API, it is mandatory to include the 360dialog-API-key within the header.

Step 1: Create a Session

Send a POST request that describes your file to the endpoint /uploads.Upon success, an upload session ID will be returned that you can use in the next step to initiate the upload.
Request Syntax
POST-https://waba-v2.360dialog.io/uploads
&file_length={file-length}
&file_type={file-type}
​Parameters
Parameter
Description
file_length int64
The file length in bytes
file_type RegexParam
The MIME type of the file to be uploaded
Response
  • {id} — Upload session ID.
Sample Request
curl -X POST \
"https://waba-v2.360dialog.io/uploads?file_length=109981&file_type=image/png"
Sample Response
{
"id": "upload:MTphd..."
}

Step 2: Initiate Upload

Initiate the upload session by sending a POST request and append your upload session {id} along with the authentication header. Upon success, a file handle {h},is returned that you can then use the {h} value to update your profile picture.
Request Syntax
POST waba-v2.360dialog.io/{session_id}
--header 'file_offset: 0'
--data-binary @{file-name}
Placeholder Values
  • {session_id} — Upload session ID returned in step 1.
  • {file-name} — Name of the file to upload.
Response
{
"h": "{h}"
}
Response property values:
  • {h} — The uploaded file's file handle
Sample Request
curl -X POST \
"https://waba-v2.360dialog.io/upload:MTphd..." \
Sample Response
{
"h": "2:c2FtcGxl..."
}
You can then use the Update Business Profile information endpoint to update the profile photo using the {h} value.