Media
Get a media file (JSON body)
Same as the GET form with client_id and api_key in a JSON body. If client_id is in the query string, the body is ignored.
post/media/{media_id}/
Request
- Base URL: https://wbiztool.com/api/v1
- URL: https://wbiztool.com/api/v1/media/{media_id}/
- Auth: none required
Request body
Example request
{
"client_id": 12345,
"api_key": "YOUR_API_KEY"
}Response
The file (status: 1) or an error (status: 0). Errors also come back with HTTP 200 and status: 0: client_id is required, api_key is required, client_id must be a valid integer, Invalid API key, Invalid client_id for this API key, Media file not found, Error retrieving media file: ….
Example response
{
"data": {
"file_size_display": "242.5 KB",
"mime_type": "application/pdf"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.