# Update the WhatsApp business profile through the API

> Read and update the WhatsApp business profile with whatsapp_business_profile: field limits, vertical values, profile photo upload and common errors.

Published 2026-11-04. Z-API Omni team.

Update a WhatsApp business profile with a `POST` to `https://graph.facebook.com/v26.0/PHONE_NUMBER_ID/whatsapp_business_profile`, and read it with a `GET` on the same path. The profile belongs to one business phone number. You can set `about`, `address`, `description`, `email`, `websites`, `vertical` and the profile photo. The photo goes in as a `profile_picture_handle`, which you get by uploading the file through Meta's Resumable Upload API first. The display name isn't part of this endpoint.

## Read the current profile

Meta's business profiles guide asks for a system user access token "with the required permissions" ([Meta business profiles, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/business-profiles)). It links to the permissions page without naming a scope for this endpoint. [Cloud API access tokens](/academy/articles/whatsapp-cloud-api-access-tokens-system-user/) covers creating one.

This is Meta's read sample, with shell variables in place of the phone number ID and token.

```bash
curl "https://graph.facebook.com/v26.0/$PHONE_NUMBER_ID/whatsapp_business_profile?fields=about,address,description,email,profile_picture_url,websites,vertical" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

Meta's sample response puts the fields directly inside `data`.

```json
{
  "data": [
    {
      "about": "Succulent specialists!",
      "address": "1 Hacker Way, Menlo Park, CA 94025",
      "description": "At Lucky Shrub, we specialize in providing a...",
      "email": "lucky@luckyshrub.com",
      "profile_picture_url": "https://pps.whatsapp.net/v/t61.24...",
      "websites": ["https://www.luckyshrub.com/"],
      "vertical": "RETAIL",
      "messaging_product": "whatsapp"
    }
  ]
}
```

The reference page disagrees on the shape. Its schema wraps each item as `data[].business_profile` ([Meta business profile API reference, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/reference/whatsapp-business-phone-number/whatsapp-business-profile-api)). Read `item.get("business_profile", item)` and your parser handles both. If you leave out `fields`, the reference says the call returns all eight: `messaging_product`, `about`, `address`, `description`, `email`, `profile_picture_url`, `websites` and `vertical`.

The same profile is editable by hand in WhatsApp Manager, under Account tools, Phone numbers, your number and the Profile tab.

## Field limits

The limits come from the phone-number version of Meta's profile guide, which still resolves and isn't marked deprecated ([Meta business profiles for phone numbers, accessed 2026-11-04](https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/business-profiles)). The reference page lists no length limits.

| Field | Rule |
|---|---|
| `messaging_product` | Required on update, always `"whatsapp"` |
| `about` | 1 to 139 characters. Markdown isn't supported, and links show as plain text |
| `address` | Up to 256 characters, free text that Meta doesn't check against a map |
| `description` | Up to 512 characters |
| `email` | Valid email format, up to 128 characters |
| `websites` | Array of up to 2 URLs, 256 characters each, with `http://` or `https://` |
| `vertical` | Empty string or one of `ALCOHOL`, `APPAREL`, `AUTO`, `BEAUTY`, `EDU`, `ENTERTAIN`, `EVENT_PLAN`, `FINANCE`, `GOVT`, `GROCERY`, `HEALTH`, `HOTEL`, `NONPROFIT`, `ONLINE_GAMBLING`, `OTC_DRUGS`, `OTHER`, `PHYSICAL_GAMBLING`, `PROF_SERVICES`, `RESTAURANT`, `RETAIL`, `TRAVEL` |
| `profile_picture_handle` | Handle from the Resumable Upload API |
| `profile_picture_url` | Read-only, returned by `GET` |

Emoji in `about` need care. Meta says "Rendered emojis are supported, however, their Unicode values are not." The same page also says "Emoji Unicode values must be Java- or JavaScript-escape encoded." The page shows no example that settles which form it expects. Python's `json.dumps` writes a cactus emoji as `\ud83c\udf35` by default, which is a JavaScript-style escape. Test one emoji in `about` on a single number, then check the profile in the WhatsApp client before you change the rest.

The guide excludes `UNDEFINED` and `NOT_A_BIZ` from the valid `vertical` values. Each accepted value maps to a category label that the WhatsApp client shows on the profile.

The profile is tied to the phone number ID, not the Messaging account. An account with five numbers needs five update calls, one per `PHONE_NUMBER_ID`.

## Update the profile

This is Meta's update sample with one fix. Meta's version sends `websites` as a string of escaped JSON, while the field is defined as an array of strings, so the array below replaces it.

```bash
curl "https://graph.facebook.com/v26.0/$PHONE_NUMBER_ID/whatsapp_business_profile" \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  --data-raw '
{
  "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 to suit your needs. From rare and exotic varieties to timeless classics, our collection has something for everyone.",
  "email": "lucky@luckyshrub.com",
  "messaging_product": "whatsapp",
  "profile_picture_handle": "4::aW...",
  "websites": ["https://www.luckyshrub.com"]
}'
```

A successful update returns `{"success": true}`. Drop `profile_picture_handle` if you aren't changing the photo, since `4::aW...` is a truncated placeholder. Meta's sample sends every text field. Meta's pages don't say whether omitted fields keep their current value. Read the profile first and send the writable fields back, without `profile_picture_url`. Check each length against the table above in your own code, so a long description fails before it reaches Meta.

There is no delete call. Meta's guide says "To delete your business profile, you must delete your phone number."

## Upload the profile photo

The photo takes two calls to the Resumable Upload API, then the profile update ([Meta Resumable Upload API, accessed 2026-11-04](https://developers.facebook.com/docs/graph-api/resumable-upload-api)). The first call opens an upload session on your app. It needs `file_name`, `file_length` in bytes and `file_type`. Allowed types are `application/pdf`, `image/jpeg`, `image/jpg`, `image/png` and `video/mp4`. That list belongs to the Graph API upload, and the profile pages don't say which of those types a profile photo accepts. Template media headers use the same upload flow, as shown in [creating message templates through the API](/academy/articles/whatsapp-create-message-template-api/).

Meta's step-one sample breaks its URL across lines inside the quotes, which puts line breaks inside the URL, so it's joined onto one line here.

```bash
FILE=profile.jpg
FILE_LENGTH=$(wc -c < "$FILE" | tr -d ' ')
curl -i -X POST "https://graph.facebook.com/v26.0/$APP_ID/uploads?file_name=$FILE&file_length=$FILE_LENGTH&file_type=image/jpeg&access_token=$USER_ACCESS_TOKEN"
```

The response is `{"id": "upload:UPLOAD_SESSION_ID"}`. Send the bytes to that ID in the second call. Meta says to pass the token with the `OAuth` scheme, not `Bearer`, or the call may fail.

```bash
curl -i -X POST "https://graph.facebook.com/v26.0/$UPLOAD_SESSION_ID" \
  --header "Authorization: OAuth $USER_ACCESS_TOKEN" \
  --header "file_offset: 0" \
  --data-binary @"$FILE"
```

Set `UPLOAD_SESSION_ID` to the full `id` value, including the `upload:` prefix. The response is `{"h": "UPLOADED_FILE_HANDLE"}`, and that `h` value goes into `profile_picture_handle`. If the upload stops halfway, a `GET` on the session ID with the same header returns `file_offset`. Repeat the second call with that offset.

Meta's upload page uses the app ID and a user access token. It doesn't say whether a system user token works for the session. The profile pages give no photo dimensions or file size limit. The reference lists a 422 error for a handle that is "invalid or expired" without stating a lifetime. Upload the photo right before the profile update, and don't cache handles.

## Errors from the profile endpoint

Meta's reference shows these example errors.

| HTTP | Code | Subcode | Meta's message |
|---|---|---|---|
| 400 | 100 | | "Invalid parameter: email must be a valid email address" |
| 401 | 190 | 463 | "Invalid OAuth access token" |
| 403 | 200 | 1349174 | "Your app doesn't have permission to modify this WhatsApp Business Profile" |
| 404 | 803 | | "WhatsApp Business Profile not found" |
| 422 | 100 | | "The profile picture handle is invalid or expired" |
| 429 | 4 | 2446079 | "Application request limit reached" |
| 500 | 2 | | "An unexpected error occurred. Please retry your request" |

The 429 and 500 examples carry `is_transient: true`, so those two are worth a retry with backoff. The others need a change on your side: a new token, a permission on the app, a fresh upload or a corrected field. On an 803, check that the path carries the phone number ID and not the Messaging account ID.

## The display name lives elsewhere

Neither profile page has a display name field. The display name goes through its own review, described in [display name guidelines and approval](/academy/articles/whatsapp-display-name-guidelines-approval/). The blue badge is a separate request too, covered in [Official Business Account](/academy/articles/whatsapp-official-business-account-blue-badge/). Meta's pages don't say how profile fields relate to that badge.

*Z-API Omni team*
