List uploaded images and documents with their paths
GET
https://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/assetsRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.
Response
Response Body · array of objects
pathstringPath to reference from pages, under assets/.sizeinteger | nullBytes stored.urlstring | nullSigned preview URL of the asset.Request
curl --request GET \ --url https://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/assets \ --header 'Authorization: Bearer sk_live_your_key'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": [ { "path": "assets/hero.jpg", "size": 182000, "url": null } ]}