Read one file of the client website
Partial includes are not expanded. 400 when path is missing or not a website file, 404 file_not_found, 409 client_not_ready.
GET
https://app.softsolz.uk/api/v1/services/launchpad/clients/{id}/site/fileRecent 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.
Query Params
pathstringrequiredRelative file path, for example index.html or css/theme.css.
Response
Response Body
pathstringFile path.contentstring | nullFile text as stored; null for an uploaded image or document.binarybooleanWhether the file is an uploaded image or document.Request
curl --request GET \ --url 'https://app.softsolz.uk/api/v1/services/launchpad/clients/{id}/site/file?path={path}' \ --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": "index.html", "content": "<!doctype html>", "binary": false }}