List Pinterest boards
curl --request GET \
--url https://api.solaraai.com/api/v1/social/pinterest/boards \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.solaraai.com/api/v1/social/pinterest/boards"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.solaraai.com/api/v1/social/pinterest/boards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"boards": [
{
"id": "<string>",
"name": "<string>",
"privacy": "PUBLIC"
}
]
}{
"code": "invalid_credentials",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Posting
List Pinterest boards
Solara AI API: The connected Pinterest account’s boards, read live: a Pin is saved to one (pinterest.board_id in Ask to post a video or Ask to post images). 403 pinterest_business_account_needed when Pinterest lets Solara work only with a Business account; 409 pinterest_needs_reconnect without a usable account; 502 when Pinterest fails.
Permission: Read (read).
GET
/
api
/
v1
/
social
/
pinterest
/
boards
List Pinterest boards
curl --request GET \
--url https://api.solaraai.com/api/v1/social/pinterest/boards \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.solaraai.com/api/v1/social/pinterest/boards"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.solaraai.com/api/v1/social/pinterest/boards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"boards": [
{
"id": "<string>",
"name": "<string>",
"privacy": "PUBLIC"
}
]
}{
"code": "invalid_credentials",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}