younifyd
Menu

Get Asset Signed Response

Get a signed upload response

POST/v1/spaces/{space_id}/assets

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the Get Asset Signed Response action (under Assets).
  3. Fill in the fields below, then reference the result from later steps as {{getAssetSignedResponse.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

Request body

Enter the body as JSON in the step's Body field.

filenamestringrequired

Filename of the asset.

idinteger

ID of an existing asset to replace.

asset_folder_idinteger

Target asset folder ID.

sizestring

Dimensions as <width>X<height>, e.g. 300X400.

validate_uploadinteger

1 to validate the upload, 0 not to.

json
{
  "filename": "string",
  "id": 0,
  "asset_folder_id": 0,
  "size": "string",
  "validate_upload": 0
}

Response

Returns 200 with an object. Read it in later steps with {{getAssetSignedResponse.response.data.<field>}}.

post_urlstring
fieldsobject
pretty_urlstring
idinteger
json
{
  "post_url": "string",
  "fields": {},
  "pretty_url": "string",
  "id": 0
}

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.

Was this page helpful?
Get Asset Signed Response — Storyblok — Documentation