List strings linked to a Figma attachment
curl --request GET \
--url https://public-api.hyperlocalise.com/v1/projects/{projectId}/figma-attachments/{attachmentId}/strings \
--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/{attachmentId}/strings', 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/{attachmentId}/strings"
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/{attachmentId}/strings"
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))
}{
"strings": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"filePath": "<string>",
"designUrl": "<string>"
}
],
"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 strings linked to a Figma attachment
Requires strings:read. Native projects only. Sorted by key. Empty when no string links to the attachment.
GET
https://public-api.hyperlocalise.com
/
v1
/
projects
/
{projectId}
/
figma-attachments
/
{attachmentId}
/
strings
List strings linked to a Figma attachment
curl --request GET \
--url https://public-api.hyperlocalise.com/v1/projects/{projectId}/figma-attachments/{attachmentId}/strings \
--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/{attachmentId}/strings', 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/{attachmentId}/strings"
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/{attachmentId}/strings"
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))
}{
"strings": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": "<string>",
"filePath": "<string>",
"designUrl": "<string>"
}
],
"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": {}
}Path Parameters
Query Parameters
Was this page helpful?

