Add a Media Link

POST https://restapi.actonsoftware.com/api/1/medialink

This endpoint allows you to add a media link to the account.

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String Insert your generated access token.
("Bearer {access token}")
url Form False Required String Specify the source URL.
foldername Form False optional String Specify the folder name you would like the media file added.
name Form False Required String Specify a name for the media link.

Response

{
  "status": "success",
  "message": "URL saved",
  "id": "u-6323c831-729b-482b-be05-2a5295ba8329"
}

 

Code Examples

curl -X POST https://restapi.actonsoftware.com/api/1/medialink -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs" -d 'name=test' -d 'url=https://www.act-on.com'