List project screenshots
curl --request GET \
--url https://public-api.hyperlocalise.com/v1/projects/{projectId}/screenshots \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://public-api.hyperlocalise.com/v1/projects/{projectId}/screenshots', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://public-api.hyperlocalise.com/v1/projects/{projectId}/screenshots"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public-api.hyperlocalise.com/v1/projects/{projectId}/screenshots"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"screenshots": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"filename": "<string>",
"contentType": "image/png",
"status": "upload_pending",
"width": 123,
"height": 123,
"imageUrl": "<string>",
"figmaUrl": "<string>",
"markers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"screenshotId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stringId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"filePath": "<string>",
"marker": {
"left": 50,
"top": 50,
"width": 99,
"height": 99
},
"source": "manual"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"offset": 1,
"limit": 50,
"total": 1
}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Screenshots
List project screenshots
Requires strings:read. Native projects only. Filter with stringId or key (and filePath when the key exists in more than one file). Newest first. imageUrl is a time-limited download for ready screenshots. Figma-synced frames appear here with figmaUrl; this API does not create them. To attach a Figma link without an image, use Figma attachments.
GET
https://public-api.hyperlocalise.com
/
v1
/
projects
/
{projectId}
/
screenshots
List project screenshots
curl --request GET \
--url https://public-api.hyperlocalise.com/v1/projects/{projectId}/screenshots \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://public-api.hyperlocalise.com/v1/projects/{projectId}/screenshots', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://public-api.hyperlocalise.com/v1/projects/{projectId}/screenshots"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://public-api.hyperlocalise.com/v1/projects/{projectId}/screenshots"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"screenshots": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"filename": "<string>",
"contentType": "image/png",
"status": "upload_pending",
"width": 123,
"height": 123,
"imageUrl": "<string>",
"figmaUrl": "<string>",
"markers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"screenshotId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stringId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"filePath": "<string>",
"marker": {
"left": 50,
"top": 50,
"width": 99,
"height": 99
},
"source": "manual"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"offset": 1,
"limit": 50,
"total": 1
}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Query Parameters
Was this page helpful?

