# Get QR code PNG image URL

**GET** `/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",
      "x-parameter-in": "query"
    },
    "fields": {
      "type": "string",
      "x-parameter-in": "query"
    }
  }
}
```

### Request example


```json
{
  "code": "ZFWJIGIWOW2BN1",
  "fields": "code,prefilled_message,qr_image_url.format(SVG),deep_link_url"
}
```

## Response schema


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

## Response examples


```json
{
  "200": {
    "raw_example": "{\n\"data\": [\n{\n\"code\": \"RPASB5GEAP6FO1\",\n\"prefilled_message\": \"Abhijit Wankhede\",\n\"qr_image_url\": \"http:\nsouth-1.amazonaws.com/v3/images?url=https%3A%2F%2Fscontent-bom2-\n1.xx.fbcdn.net%2Fm1%2Fv%2Ft6%2FAn-5bm0Cig4I0JX5q76hym3nOOrIXzHGlyq-\n_TSsOueaf7PUkOrnAkaaVi51Qoh-\nyhziBnQNDHErnFz7575quYndtQhJ34PyVATVftCfn0wSuLjocBeoB23atnhhMH2oWmY\nNn-pJ-Rwi%3Fccb%3D10-\n5%26oh%3D00_AYAEvjtIp6oIFiCBY27kuuTqrC2aqFPFqeEXijw5F8GvyA%26oe%3D67\n516D5A%26_nc_sid%3D5a413f\",\n\"deep_link_url\": \"https:\n}\n]\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."
  }
]
```
