# Update Message QR Code

**POST** `/business/{businessPhoneNumberId}/message_qrdls`

Product: [WhatsApp](https://devdocs.pinnacle.in/docs/whatsapp.md)  
Version: [3.0](https://devdocs.pinnacle.in/docs/whatsapp/3-0.md)

This API is used to confirm that template analytics capture will begin for the WhatsApp Business Account.

## Request

URL: `https://partnersv1.pinbot.ai/v3/business/{businessPhoneNumberId}/message_qrdls`

Authentication location: `header`

Authentication name: `api key`

### Request schema


```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "string"
    },
    "generate_qr_image": {
      "type": "string"
    },
    "prefilled_message": {
      "type": "string"
    }
  }
}
```

### Request example


```json
{
  "code": "RPASB5GEAP6FO1",
  "generate_qr_image": "PNG",
  "prefilled_message": "Abhijit..."
}
```

## Response schema


```json
{
  "type": "object",
  "properties": {
    "raw_example": {
      "type": "string"
    }
  }
}
```

## Response examples


```json
{
  "200": {
    "raw_example": "{\n\"code\": \"RPASB5GEAP6FO1\",\n\"prefilled_message\": \"Abhijit...\",\n\n\"deep_link_url\": \"https:\n\"qr_image_url\": \"http:\n1.amazonaws.com/v3/images?url=https%3A%2F%2Fscontent-bom2-\n1.xx.fbcdn.net%2Fm1%2Fv%2Ft6%2FAn9QzAPXFIY1DoJPnlMI13J3KlRyn5YeDA8b39\nNdG7NKd1QSd8LduFa5Uzkk3INp9-\n2FzX_K3C3LWlp_bzNNSkRzaFYgRmY7WI7vVlTtCpxru2aPJ6djhMvLcXiuuWtBTK4FBI\nueais%3Fccb%3D10-5%26oh%3D00_AYCUqDtBQjltvGvCMW_kc0ch85m6_RaZzwiZ4-\ntrhUGaDQ%26oe%3D675183BB%26_nc_sid%3D5a413f\"\n}"
  }
}
```

## Status codes


```json
[
  {
    "code": 200,
    "description": "The request was successful."
  },
  {
    "code": 400,
    "description": "Bad request or invalid parameters."
  },
  {
    "code": 401,
    "description": "API key is missing or invalid."
  },
  {
    "code": 403,
    "description": "The request is not authorized for this resource."
  },
  {
    "code": 404,
    "description": "The requested resource was not found."
  },
  {
    "code": 500,
    "description": "The server encountered an error."
  }
]
```
