Get Media

This endpoint returns file. If file does not exists it will give failure message saying file with requested id does not exists.

URL:​ https://waapi.pepipost.com/api/v2/media/{mediaid}

Method: GET

Parameters

Parameter

Description

Parameter Type

Data Type

Sample Value

Required

mediaId

Media Id

Path parameter

String

38e9f3f7-6d6f-4a18839c-fd5076b473a6

Yes

Request Body

Not required

Responses

In case of success

Binary Data

In case of failure

{ 
   "status": "failure", 
   "message": "Media with 38e9f3f7-6d6f-4a18-839c-fd5076b473 not found." 
} 

Last updated