Pinterest endpoints

Pinterest endpoints in the Siar social media API: 2 operations that exist on Pinterest only, with parameters, body fields, responses and curl examples.

Updated

These operations exist for Pinterest only. The shared operations (posts, comments, analytics) are in the API reference; all network-specific areas are listed under network-specific operations.

Operations

OperationMethod and path
[DISABLED] Edit an existing Pinterest pinPATCH /api/v1/misc/pinterest/pin
Delete a Pinterest pinDELETE /api/v1/misc/pinterest/pin
PATCH /api/v1/misc/pinterest/pin

[DISABLED] Edit an existing Pinterest pin

misc.pinterest.editPin · requires x-api-key

Request body application/json

  • teamId string required
  • postId string required
  • title string
  • description string
  • link string uri
  • altText string
  • note string

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/pinterest/pin" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "postId": "POST_ID"
  }'

Response 200

2 top-level fields
  • success boolean required
  • permalink string required

Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error

DELETE /api/v1/misc/pinterest/pin

Delete a Pinterest pin

misc.pinterest.deletePin · requires x-api-key

Request body application/json

  • teamId string required
  • postId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/pinterest/pin" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "postId": "POST_ID"
  }'

Response 200

1 top-level fields
  • success boolean required

Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error