Retrieves a WhatsApp Phone Number

gethttps://api.telnyx.com/v2/whatsapp_phone_numbers/{id}

Retrieves a WhatsApp Phone Number

curl -X GET \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "Authorization: Bearer YOUR_API_KEY" \ --globoff "https://api.telnyx.com/v2/whatsapp_phone_numbers/{id}"

Parameters

In Path
id
string
required
Identifies the WhatsApp Phone Number

Responses

200
WhatsApp Phone Number details
default
Unexpected error

Success Response

{
  "data": {
    "about": "This is our about section",
    "created_at": "2020-01-01T00:00:00.000000Z",
    "id": "2ade33a-21c0-473b-b055-b3c836e1c292",
    "organization_id": "29f187ff-6f27-449f-a2d3-d7188a50008c",
    "phone_number": "+1879832178",
    "record_type": "whatsapp_phone_number",
    "status": "pending",
    "updated_at": "2020-01-01T00:00:00.000000Z",
    "webhook_url": "http://www.myurl.com/webhook",
    "whatsapp_settings": {
      "display_name": "Acme Inc.",
      "display_name_status": "APPROVED",
      "id": "487117329074690",
      "quality_rating": "UNKNOWN"
    },
    "whatsapp_user_id": "1879832178"
  }
}

...

patchhttps://api.telnyx.com/v2/whatsapp_phone_numbers/{id}

...

...

Parameters

Responses

Success Response

...

patchhttps://api.telnyx.com/v2/whatsapp_phone_numbers/{id}/about

...

...

Parameters

Responses

Success Response

...

gethttps://api.telnyx.com/v2/whatsapp_phone_numbers/{id}/photo

...

...

Parameters

Responses

Success Response

...

patchhttps://api.telnyx.com/v2/whatsapp_phone_numbers/{id}/photo

...

...

Parameters

Responses

Success Response

Was this page helpful?