Whatsapp Phone Numbers

Upload Whatsapp profile photo

Changed on

Uploads and assigns a business-profile photo to the specified WhatsApp phone number.

post/v2/whatsapp/phone_numbers/{phone_number}/profile/photo

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/v2/whatsapp/phone_numbers/{phone_number}/profile/photo
  • Auth: HTTP bearer

Path parameters

phone_numberstring required

Phone number (E.164 format)

Request body multipart/form-data

filestring binary required

Image file (JPEG recommended, max 10 MB)

Response

Successful response with Whatsapp profile

Example response

{
  "data": {
    "record_type": "whatsapp_phone_number_profiles"
  }
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the / response's property type changed from no type to object for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the /// response's property format changed from json-pointer to no format for status