# GET MEDIA FROM MEDIA URL

**GET** `/whatsapp_business/attachments/`

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 get the media by calling the media url.

## Request

URL: `https://partnersv1.pinbot.ai/v3/whatsapp_business/attachments/`

Authentication location: `header`

Authentication name: `apikey`

### Request schema


```json
{
  "type": "object",
  "properties": {
    "ext": {
      "type": "string",
      "x-parameter-in": "query"
    },
    "mid": {
      "type": "string",
      "x-parameter-in": "query"
    },
    "hash": {
      "type": "string",
      "x-parameter-in": "query"
    }
  }
}
```

### Request example


```json
{
  "ext": "1716536800",
  "mid": "7609700182448254",
  "hash": "ATtFkAs7t1xlhx9wik43m7NBRARfMzfh6Vi_IvgzzxkQsQ"
}
```

## Response schema


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

## Response examples


```json
{}
```

## 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."
  }
]
```
