Menu
Upload an asset
Upload an asset
POST
/assetsUse it in a workflow
- Add a step and choose the SCAYLE Admin connector.
- Pick the Upload an asset action (under Assets).
- Fill in the fields below, then reference the result from later steps as
{{uploadAnAsset.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"source": {
"url": "https://example.com/image.png",
"attachment": "U3dhZ2dlciByb2Nrcw=="
}
}
Response
Returns 201 with an object. Read it in later steps with {{uploadAnAsset.response.data.<field>}}.
{
"assetUrl": "images/084dace7d7ff691e97982fa554113c29"
}
Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.
Was this page helpful?