Board Section Posts
A board section's pins, about 25 a page.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
id*stringThe section's id, from /v1/pinterest/board/sections.
cursor?stringnextCursor of the previous page.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.
data*array<>pagination*import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.pinterest.boardSectionPosts({ id: "5485478297959732390" });Example Response
{ "data": [ { "id": "796152040423109979", "url": "https://www.pinterest.com/pin/796152040423109979/", "text": "Mayrem", "createdAt": null, "author": { "id": "796152177784588548", "username": "gentianaamorina", "displayName": "Genta🌸", "avatarUrl": "https://i.pinimg.com/75x75_RS/e1/b5/8c/e1b58cb7cb0d1011f278cd11a05d0802.jpg", "verified": false, "url": "https://www.pinterest.com/gentianaamorina/" }, "stats": { "views": null, "likes": 1, "comments": null, "shares": null, "saves": 1, "engagementRate": null }, "media": [ { "kind": "image", "url": "https://i.pinimg.com/originals/d1/2c/9c/d12c9c9e9bb3d41aa2ad2e6e6593d667.jpg", "thumbnailUrl": null, "width": 815, "height": 1222, "durationSeconds": null } ], "hashtags": [], "mentions": [], "ext": { "kind": "story", "title": "Coffee shared with biscuits", "link": null, "domain": "Uploaded by user", "board": { "id": "796152109065775648", "name": "Coffee", "url": "https://www.pinterest.com/gentianaamorina/coffee/" }, "commentsId": "4049350515845275968", "openable": true, "dominantColor": "#907969", "altText": null, "commentsDisabled": false } }, { "id": "796152040423053562", "url": "https://www.pinterest.com/pin/796152040423053562/", "text": null, "createdAt": null, "author": { "id": "796152177784588548", "username": "gentianaamorina", "displayName": "Genta🌸", "avatarUrl": "https://i.pinimg.com/75x75_RS/e1/b5/8c/e1b58cb7cb0d1011f278cd11a05d0802.jpg", "verified": false, "url": "https://www.pinterest.com/gentianaamorina/" }, "stats": { "views": null, "likes": 1, "comments": null, "shares": null, "saves": 2, "engagementRate": null }, "media": [ { "kind": "image", "url": "https://i.pinimg.com/originals/78/4b/8e/784b8ee31fa79bdd3ce85846bb7e52f6.jpg", "thumbnailUrl": null, "width": 983, "height": 1474, "durationSeconds": null } ], "hashtags": [], "mentions": [], "ext": { "kind": "story", "title": "Coffee shared with sweet snacks", "link": null, "domain": "Uploaded by user", "board": { "id": "796152109065775648", "name": "Coffee", "url": "https://www.pinterest.com/gentianaamorina/coffee/" }, "commentsId": "4039550666115996288", "openable": true, "dominantColor": "#959085", "altText": "two cups of coffee and some cookies on a table", "commentsDisabled": false } } ], "pagination": { "nextCursor": "LT43OTYxNTIwNDA0MjEyNDcwODl8MjV8MjV8NTE2OTA1NjIxNjQ5MDA4NCpHUUwqfDkyNDVmNjM4Y2E3OTk3MmMwZDEzZTkzMTFmNThkNDM1OGU1MDc1M2NhOTI1NTZkYzYyYzBjNDI4ZDdmZDA4N2V8TkVXfA==", "hasMore": true }}