POST
/
media
/
urlExists
curl \
-H "Authorization: Bearer API_KEY" \
-H 'Content-Type: application/json' \
-d '{"mediaUrl": "https://img.ayrshare.com/012/vid.mp4"}' \
-X POST https://api.ayrshare.com/api/media/urlExists
{
    "status": "success"
}
Available on Premium, Business, Enterprise plans.

Verify that the media file exists when uploaded. It should be used in conjunction with the /media/uploadUrl endpoint.

Header Parameters

Authorization
string
required
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY

Verify Media URL Exists

POST https://api.ayrshare.com/api/media/urlExists

Verify that the media file exists when uploaded. It should be used in conjunction with the /media/uploadUrl endpoint.

Body Parameters

mediaUrl
string
required

URL of the media to verify exists.