# Pull DLR

API Endpoint

<mark style="color:green;">`GET`</mark> `https://api.qikchat.in/v1/messages?msgid=<message id>`

**Headers**

| Name                                              | Value              |
| ------------------------------------------------- | ------------------ |
| Content-Type                                      | `application/json` |
| QIKCHAT-API-KEY<mark style="color:red;">\*</mark> | place API key      |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "status": true,
    "message": {
        "event": "whatsapp:message:dlr",
        "payload": {
            "id": "LJsYjz93FXXXXXX0i1H52N",
            "name": "whatsapp",
            "contacts": [
                {
                    "profile": {
                        "name": "unknown user"
                    },
                    "to": "+918080808080"
                }
            ],
            "message": {
                "type": "template",
                "status": "read",
                "sentAt": "2024-07-02T08:59:21.000Z",
                "deliveredAt": "2024-07-02T08:59:21.000Z",
                "readAt": "2024-07-02T09:03:52.000Z",
                "processedAt": "2024-07-02T08:59:19.631Z",
                "lastUpdatedAt": "2024-07-02T09:03:53.423Z"
            }
        }
    }
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
