WaMCP
Api referencemedia

Get Media Url

Get the media URL from a media ID.

POST
/api/media/get-url

Get the media URL from a media ID.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/media/get-url" \  -H "Content-Type: application/json" \  -d '{    "client_id": "string",    "media_id": "string"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}