List Figma attachments
curl --request GET \
--url https://public-api.hyperlocalise.com/v1/projects/{projectId}/figma-attachments \
--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}/figma-attachments', 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}/figma-attachments"
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}/figma-attachments"
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))
}{
"figmaAttachments": [
{
"id": "AbC123.12-345",
"url": "<string>",
"fileKey": "<string>",
"nodeId": "<string>",
"stringCount": 1
}
],
"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": {}
}Figma attachments
List Figma attachments
Requires strings:read. Native projects only. A Figma attachment is the Figma file or node that strings’ design links (designUrl) point at: links to the same file and node-id group together, however they are spelled. Sorted by id. Filter with stringId to get the attachment a string links to.
GET
https://public-api.hyperlocalise.com
/
v1
/
projects
/
{projectId}
/
figma-attachments
List Figma attachments
curl --request GET \
--url https://public-api.hyperlocalise.com/v1/projects/{projectId}/figma-attachments \
--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}/figma-attachments', 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}/figma-attachments"
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}/figma-attachments"
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))
}{
"figmaAttachments": [
{
"id": "AbC123.12-345",
"url": "<string>",
"fileKey": "<string>",
"nodeId": "<string>",
"stringCount": 1
}
],
"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?

