Network-specific API

Operations that exist on one network only: playlists, boards, flairs, music libraries, Business Profile location data, reviews and more.

OperationMethod and path
Set or change thumbnail for a YouTube videoPOST /api/v1/misc/youtube/thumbnail
Get channel playlistsGET /api/v1/misc/youtube/playlist
Create a new playlistPOST /api/v1/misc/youtube/playlist
Update an existing playlistPUT /api/v1/misc/youtube/playlist
Delete a channel playlistDELETE /api/v1/misc/youtube/playlist/{playlistId}
Add a video to a playlistPOST /api/v1/misc/youtube/playlist-items
Get videos from a playlistGET /api/v1/misc/youtube/playlist-items
Remove a video from a playlistDELETE /api/v1/misc/youtube/playlist-items/{playlistItemId}
Edit YouTube video metadataPATCH /api/v1/misc/youtube/video
Delete a YouTube videoDELETE /api/v1/misc/youtube/video
Edit YouTube commentPATCH /api/v1/misc/youtube/comment
Delete a YouTube commentDELETE /api/v1/misc/youtube/comment
Get YouTube video categoriesGET /api/v1/misc/youtube/video-categories
Get YouTube regionsGET /api/v1/misc/youtube/regions
Get Linkedin mentionable tags (people & organizations)GET /api/v1/misc/linkedin/mentions/tags
Build Linkedin text, insert mentions at tag placeholders.POST /api/v1/misc/linkedin/mentions/builder
Reshare an existing LinkedIn postPOST /api/v1/misc/linkedin/post/reshare
Edit an existing LinkedIn postPATCH /api/v1/misc/linkedin/post
Delete a LinkedIn postDELETE /api/v1/misc/linkedin/post
Edit an existing LinkedIn commentPATCH /api/v1/misc/linkedin/comment
Delete a LinkedIn commentDELETE /api/v1/misc/linkedin/comment
Add a media item (photo/video) using uploadId and categoryPOST /api/v1/misc/google-business/media
List Google Business media itemsGET /api/v1/misc/google-business/media
Delete Google Business media itemDELETE /api/v1/misc/google-business/media
Delete a Google Business postDELETE /api/v1/misc/google-business/post
Get Google Business location profileGET /api/v1/misc/google-business/location
Update Google Business location profile fieldsPATCH /api/v1/misc/google-business/location
Update Google Business regular/special/more hoursPATCH /api/v1/misc/google-business/location/hours
Get Google Business location attributesGET /api/v1/misc/google-business/location/attributes
Update Google Business location attributesPATCH /api/v1/misc/google-business/location/attributes
List available Google Business attributesGET /api/v1/misc/google-business/location/attributes/available
List the search terms customers used to find the locationGET /api/v1/misc/google-business/location/search-keywords
List available Google Business categoriesGET /api/v1/misc/google-business/location/categories/available
Get Google Business service listGET /api/v1/misc/google-business/location/service-list
Update Google Business service listPATCH /api/v1/misc/google-business/location/service-list
Get Google Business food menusGET /api/v1/misc/google-business/location/food-menus
Update Google Business food menusPATCH /api/v1/misc/google-business/location/food-menus
List Google Business place action linksGET /api/v1/misc/google-business/location/place-action-links
Create Google Business place action linkPOST /api/v1/misc/google-business/location/place-action-links
Update Google Business place action linkPATCH /api/v1/misc/google-business/location/place-action-links
Delete Google Business place action linkDELETE /api/v1/misc/google-business/location/place-action-links
Start a new Google Reviews importPOST /api/v1/misc/google-business/reviews/import
Get review import status listGET /api/v1/misc/google-business/reviews/import
Get review import by IDGET /api/v1/misc/google-business/reviews/import/{importId}
List imported Google ReviewsGET /api/v1/misc/google-business/reviews
Get a single imported Google ReviewGET /api/v1/misc/google-business/reviews/{reviewId}
Reply to a Google Review (creates or updates the owner reply)PUT /api/v1/misc/google-business/reviews/{reviewId}/reply
Delete the owner reply from a Google ReviewDELETE /api/v1/misc/google-business/reviews/{reviewId}/reply
Get subreddit post requirements (flair required/enabled)GET /api/v1/misc/reddit/post-requirements
Get subreddit flairs listGET /api/v1/misc/reddit/subreddit-flairs
Edit an existing Reddit postPATCH /api/v1/misc/reddit/post
Delete a Reddit postDELETE /api/v1/misc/reddit/post
Edit an existing Reddit commentPATCH /api/v1/misc/reddit/comment
Delete a Reddit commentDELETE /api/v1/misc/reddit/comment
Search for Instagram Business/Creator user by usernameGET /api/v1/misc/instagram/tags
Search Instagram location IDsGET /api/v1/misc/instagram/locations
Search Instagram audio assetsGET /api/v1/misc/instagram/audio
Delete an Instagram commentDELETE /api/v1/misc/instagram/comment
Search Facebook PagesGET /api/v1/misc/facebook/pages
List Facebook text background presetsGET /api/v1/misc/facebook/text-format-presets
Get Facebook token debug detailsGET /api/v1/misc/facebook/token-debug
Start a new Facebook recommendations importPOST /api/v1/misc/facebook/recommendations/import
Get Facebook recommendations import status listGET /api/v1/misc/facebook/recommendations/import
Get Facebook recommendations import by IDGET /api/v1/misc/facebook/recommendations/import/{importId}
List imported Facebook recommendationsGET /api/v1/misc/facebook/recommendations
Get a single imported Facebook recommendationGET /api/v1/misc/facebook/recommendations/{recommendationId}
Get recommendation thread commentsGET /api/v1/misc/facebook/recommendations/{recommendationId}/comments
Reply to a Facebook recommendationPUT /api/v1/misc/facebook/recommendations/{recommendationId}/reply
Reply to a Facebook recommendation thread commentPUT /api/v1/misc/facebook/recommendations/{recommendationId}/comments/{commentId}/reply
Edit an existing Facebook postPATCH /api/v1/misc/facebook/post
Delete a Facebook postDELETE /api/v1/misc/facebook/post
Edit a Facebook commentPATCH /api/v1/misc/facebook/comment
Delete a Facebook commentDELETE /api/v1/misc/facebook/comment
[DISABLED] Edit an existing Pinterest pinPATCH /api/v1/misc/pinterest/pin
Delete a Pinterest pinDELETE /api/v1/misc/pinterest/pin
Edit an existing Mastodon statusPATCH /api/v1/misc/mastodon/status
Delete a Mastodon statusDELETE /api/v1/misc/mastodon/status
Edit a Mastodon commentPATCH /api/v1/misc/mastodon/comment
Delete a Mastodon commentDELETE /api/v1/misc/mastodon/comment
Edit an existing Slack messagePATCH /api/v1/misc/slack/message
Delete a Slack messageDELETE /api/v1/misc/slack/message
Delete a Bluesky postDELETE /api/v1/misc/bluesky/post
Delete a Bluesky commentDELETE /api/v1/misc/bluesky/comment
Delete a Twitter/X tweetDELETE /api/v1/misc/twitter/tweet
Delete a Twitter/X commentDELETE /api/v1/misc/twitter/comment
Repost a Twitter/X postPOST /api/v1/misc/twitter/retweet
Undo a Twitter/X repostDELETE /api/v1/misc/twitter/retweet
Delete a Discord messageDELETE /api/v1/misc/discord/message
Get popular tracks from TikTok Commercial Music LibraryGET /api/v1/misc/tiktok/cml/trending-list
Delete a TikTok commentDELETE /api/v1/misc/tiktok/comment
POST /api/v1/misc/youtube/thumbnail

Set or change thumbnail for a YouTube video

misc.youtube.setThumbnail · requires x-api-key

Request body application/json

  • teamId string required
  • url string required
  • postId string required

Example

curl -X POST "https://api.siaran.my/api/v1/misc/youtube/thumbnail" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "url": "https://example.com/file.jpg",
    "postId": "POST_ID"
  }'

Response 200

1 top-level fields
  • items object[] default []
    5 fields
    • default object
      3 fields
      • url string required uri
      • width integer
      • height integer
    • medium object
      3 fields
      • url string required uri
      • width integer
      • height integer
    • high object
      3 fields
      • url string required uri
      • width integer
      • height integer
    • standard object
      3 fields
      • url string required uri
      • width integer
      • height integer
    • maxres object
      3 fields
      • url string required uri
      • width integer
      • height integer

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

GET /api/v1/misc/youtube/playlist

Get channel playlists

misc.youtube.getChannelPlaylist · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
maxResults query integer default 10

Example

curl -X GET "https://api.siaran.my/api/v1/misc/youtube/playlist?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

6 top-level fields
  • kind string
  • etag string
  • nextPageToken string
  • prevPageToken string
  • pageInfo object
    2 fields
    • totalResults integer
    • resultsPerPage integer
  • items object[] default []
    6 fields
    • kind string
    • etag string
    • id string
    • snippet object
      7 fields
      • publishedAt string
      • channelId string
      • title string
      • description string
      • channelTitle string
      • thumbnails object
        5 fields
        • default object
          3 fields
          • url string uri
          • width integer
          • height integer
        • medium object
          3 fields
          • url string uri
          • width integer
          • height integer
        • high object
          3 fields
          • url string uri
          • width integer
          • height integer
        • standard object
          3 fields
          • url string uri
          • width integer
          • height integer
        • maxres object
          3 fields
          • url string uri
          • width integer
          • height integer
      • localized object
        2 fields
        • title string
        • description string
    • status object
      1 field
      • privacyStatus string
    • contentDetails object
      1 field
      • itemCount integer

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

POST /api/v1/misc/youtube/playlist

Create a new playlist

misc.youtube.createNewChannelPlaylist · requires x-api-key

Request body application/json

  • teamId string required
  • title string required
  • description string required
  • privacyStatus string
    One of: public unlisted private

Example

curl -X POST "https://api.siaran.my/api/v1/misc/youtube/playlist" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "title": "Hello from Siar",
    "description": "Hello from Siar"
  }'

Response 200

6 top-level fields
  • kind string
  • etag string
  • id string
  • snippet object
    7 fields
    • publishedAt string
    • channelId string
    • title string
    • description string
    • channelTitle string
    • thumbnails object
      5 fields
      • default object
        3 fields
        • url string uri
        • width integer
        • height integer
      • medium object
        3 fields
        • url string uri
        • width integer
        • height integer
      • high object
        3 fields
        • url string uri
        • width integer
        • height integer
      • standard object
        3 fields
        • url string uri
        • width integer
        • height integer
      • maxres object
        3 fields
        • url string uri
        • width integer
        • height integer
    • localized object
      2 fields
      • title string
      • description string
  • status object
    1 field
    • privacyStatus string
  • contentDetails object
    1 field
    • itemCount integer

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

PUT /api/v1/misc/youtube/playlist

Update an existing playlist

misc.youtube.updateChannelPlaylist · requires x-api-key

Request body application/json

  • teamId string required
  • title string required
  • description string required
  • privacyStatus string
    One of: public unlisted private
  • playlistId string required

Example

curl -X PUT "https://api.siaran.my/api/v1/misc/youtube/playlist" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "title": "Hello from Siar",
    "description": "Hello from Siar",
    "playlistId": "PLAYLIST_ID"
  }'

Response 200

6 top-level fields
  • kind string
  • etag string
  • id string
  • snippet object
    7 fields
    • publishedAt string
    • channelId string
    • title string
    • description string
    • channelTitle string
    • thumbnails object
      5 fields
      • default object
        3 fields
        • url string uri
        • width integer
        • height integer
      • medium object
        3 fields
        • url string uri
        • width integer
        • height integer
      • high object
        3 fields
        • url string uri
        • width integer
        • height integer
      • standard object
        3 fields
        • url string uri
        • width integer
        • height integer
      • maxres object
        3 fields
        • url string uri
        • width integer
        • height integer
    • localized object
      2 fields
      • title string
      • description string
  • status object
    1 field
    • privacyStatus string
  • contentDetails object
    1 field
    • itemCount integer

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/youtube/playlist/{playlistId}

Delete a channel playlist

misc.youtube.deleteChannelPlaylist · requires x-api-key

Parameters

NameInTypeNotes
playlistId required path string
teamId required query string

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/youtube/playlist/PLAYLISTID?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

A boolean.

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

POST /api/v1/misc/youtube/playlist-items

Add a video to a playlist

misc.youtube.addVideoToPlaylist · requires x-api-key

Request body application/json

  • teamId string required
  • playlistId string required
  • postId string required
  • position integer ≥ 0

Example

curl -X POST "https://api.siaran.my/api/v1/misc/youtube/playlist-items" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "playlistId": "PLAYLIST_ID",
    "postId": "POST_ID"
  }'

Response 200

5 top-level fields
  • kind string
  • etag string
  • id string
  • snippet object
    9 fields
    • publishedAt string
    • channelId string
    • title string
    • description string
    • channelTitle string
    • thumbnails object
      5 fields
      • default object
        3 fields
        • url string uri
        • width integer
        • height integer
      • medium object
        3 fields
        • url string uri
        • width integer
        • height integer
      • high object
        3 fields
        • url string uri
        • width integer
        • height integer
      • standard object
        3 fields
        • url string uri
        • width integer
        • height integer
      • maxres object
        3 fields
        • url string uri
        • width integer
        • height integer
    • playlistId string
    • position integer
    • resourceId object
      4 fields
      • kind string
      • videoId string
      • playlistId string
      • channelId string
  • contentDetails object
    2 fields
    • videoId string
    • videoPublishedAt string

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

GET /api/v1/misc/youtube/playlist-items

Get videos from a playlist

misc.youtube.getVideosFromPlaylist · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
playlistId required query string
maxResults query integer default 10

Example

curl -X GET "https://api.siaran.my/api/v1/misc/youtube/playlist-items?teamId=TEAM_ID&playlistId=PLAYLIST_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

6 top-level fields
  • kind string
  • etag string
  • nextPageToken string
  • prevPageToken string
  • pageInfo object
    2 fields
    • totalResults integer
    • resultsPerPage integer
  • items object[] default []
    5 fields
    • kind string
    • etag string
    • id string
    • snippet object
      9 fields
      • publishedAt string
      • channelId string
      • title string
      • description string
      • channelTitle string
      • thumbnails object
        5 fields
        • default object
          3 fields
          • url string uri
          • width integer
          • height integer
        • medium object
          3 fields
          • url string uri
          • width integer
          • height integer
        • high object
          3 fields
          • url string uri
          • width integer
          • height integer
        • standard object
          3 fields
          • url string uri
          • width integer
          • height integer
        • maxres object
          3 fields
          • url string uri
          • width integer
          • height integer
      • playlistId string
      • position integer
      • resourceId object
        4 fields
        • kind string
        • videoId string
        • playlistId string
        • channelId string
    • contentDetails object
      2 fields
      • videoId string
      • videoPublishedAt string

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/youtube/playlist-items/{playlistItemId}

Remove a video from a playlist

misc.youtube.deleteVideoFromPlaylist · requires x-api-key

Parameters

NameInTypeNotes
playlistItemId required path string
teamId required query string

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/youtube/playlist-items/PLAYLISTITEMID?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

A boolean.

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

PATCH /api/v1/misc/youtube/video

Edit YouTube video metadata

misc.youtube.editVideo · requires x-api-key

Request body application/json

  • teamId string required
  • postId string required
  • title string
  • description string
  • tags string[]
  • categoryId string
  • privacyStatus string
    One of: public unlisted private
  • defaultLanguage string max length 35
  • defaultAudioLanguage string max length 35

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/youtube/video" \
  -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/youtube/video

Delete a YouTube video

misc.youtube.deleteVideo · 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/youtube/video" \
  -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

PATCH /api/v1/misc/youtube/comment

Edit YouTube comment

misc.youtube.editComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required
  • text string required min length 1

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/youtube/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_ID",
    "text": "Hello from Siar"
  }'

Response 200

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

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/youtube/comment

Delete a YouTube comment

misc.youtube.deleteComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/youtube/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_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

GET /api/v1/misc/youtube/video-categories

Get YouTube video categories

misc.youtube.getVideoCategories · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
regionCode query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/youtube/video-categories?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

3 top-level fields
  • kind string
  • etag string
  • items object[] default []
    4 fields
    • kind string
    • etag string
    • id string
    • snippet object
      3 fields
      • channelId string
      • title string
      • assignable boolean

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

GET /api/v1/misc/youtube/regions

Get YouTube regions

misc.youtube.getRegions · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/youtube/regions?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

3 top-level fields
  • kind string
  • etag string
  • items object[] default []
    4 fields
    • kind string
    • etag string
    • id string
    • snippet object
      2 fields
      • gl string
      • name string

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

GET /api/v1/misc/linkedin/mentions/tags

Get Linkedin mentionable tags (people & organizations)

misc.linkedin.getTags · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
q query string
url query string
displayName query string
scope query string One of people, organizations, all · default "all"

Example

curl -X GET "https://api.siaran.my/api/v1/misc/linkedin/mentions/tags?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

2 top-level fields
  • people object[] default []
    6 fields
    • kind string required
      One of: person
    • urn string required
    • display string required
    • headline string
    • photoUrl string uri
    • needsDisplayName boolean
  • organizations object[] default []
    5 fields
    • kind string required
      One of: organization
    • urn string required
    • display string required
    • vanityName string
    • logoUrl string uri

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

POST /api/v1/misc/linkedin/mentions/builder

Build Linkedin text, insert mentions at tag placeholders.

misc.linkedin.buildCommentary · requires x-api-key

Request body application/json

  • text string default ""
  • tags object[] default []
    2 fields
    • display string required
    • urn string required

Example

curl -X POST "https://api.siaran.my/api/v1/misc/linkedin/mentions/builder" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "text": "",
    "tags": []
  }'

Response 200

1 top-level fields
  • commentary 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

POST /api/v1/misc/linkedin/post/reshare

Reshare an existing LinkedIn post

misc.linkedin.resharePost · requires x-api-key

Request body application/json

  • teamId string required
  • parentPostUrn string required min length 1
  • commentary string required min length 1max length 3,000
  • visibility string nullable default "PUBLIC"
    One of: CONNECTIONS PUBLIC LOGGED_IN CONTAINER
  • disableReshare boolean nullable default false

Example

curl -X POST "https://api.siaran.my/api/v1/misc/linkedin/post/reshare" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "parentPostUrn": "string",
    "commentary": "string"
  }'

Response 200

4 top-level fields
  • success boolean required
  • id string required
  • activity string nullable
  • permalink string nullable

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

PATCH /api/v1/misc/linkedin/post

Edit an existing LinkedIn post

misc.linkedin.editPost · requires x-api-key

Request body application/json

  • teamId string required
  • postId string required
  • description string required

Example

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

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/linkedin/post

Delete a LinkedIn post

misc.linkedin.deletePost · 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/linkedin/post" \
  -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

PATCH /api/v1/misc/linkedin/comment

Edit an existing LinkedIn comment

misc.linkedin.editComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required
  • text string required min length 1max length 1,250

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/linkedin/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_ID",
    "text": "Hello from Siar"
  }'

Response 200

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

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/linkedin/comment

Delete a LinkedIn comment

misc.linkedin.deleteComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/linkedin/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_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

POST /api/v1/misc/google-business/media

Add a media item (photo/video) using uploadId and category

misc.google_business.addMedia · requires x-api-key

Request body application/json

  • teamId string required
  • uploadId string required
  • category string default "ADDITIONAL"
    One of: CATEGORY_UNSPECIFIED COVER PROFILE LOGO EXTERIOR INTERIOR PRODUCT AT_WORK FOOD_AND_DRINK MENU COMMON_AREA ROOMS TEAMS ADDITIONAL
  • description string max length 2,000

Example

curl -X POST "https://api.siaran.my/api/v1/misc/google-business/media" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "uploadId": "UPLOAD_ID"
  }'

Response 200

7 top-level fields
  • name string
  • googleUrl string uri
  • mediaFormat string
    One of: PHOTO VIDEO
  • sourceUrl string uri
  • thumbnailUrl string uri
  • locationAssociation object
    2 fields
    • category string
      One of: CATEGORY_UNSPECIFIED COVER PROFILE LOGO EXTERIOR INTERIOR PRODUCT AT_WORK FOOD_AND_DRINK MENU COMMON_AREA ROOMS TEAMS ADDITIONAL
    • priceListItemId string
  • description string

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

GET /api/v1/misc/google-business/media

List Google Business media items

misc.google_business.listMedia · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
pageSize query integer
pageToken query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/media?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

3 top-level fields
  • mediaItems object[] default []
    7 fields
    • name string
    • googleUrl string uri
    • mediaFormat string
      One of: PHOTO VIDEO
    • sourceUrl string uri
    • thumbnailUrl string uri
    • locationAssociation object
      2 fields
      • category string
        One of: CATEGORY_UNSPECIFIED COVER PROFILE LOGO EXTERIOR INTERIOR PRODUCT AT_WORK FOOD_AND_DRINK MENU COMMON_AREA ROOMS TEAMS ADDITIONAL
      • priceListItemId string
    • description string
  • nextPageToken string
  • totalMediaItemCount number

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/google-business/media

Delete Google Business media item

misc.google_business.deleteMedia · requires x-api-key

Request body application/json

  • teamId string required
  • mediaName string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/google-business/media" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "mediaName": "Example"
  }'

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

DELETE /api/v1/misc/google-business/post

Delete a Google Business post

misc.google_business.deletePost · 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/google-business/post" \
  -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

GET /api/v1/misc/google-business/location

Get Google Business location profile

misc.google_business.getLocation · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
fields query string[] nullable

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

1 top-level fields
  • name string

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

PATCH /api/v1/misc/google-business/location

Update Google Business location profile fields

misc.google_business.updateLocation · requires x-api-key

Request body application/json

  • teamId string required
  • validateOnly boolean
  • title string nullable max length 255
  • profile object nullable
    1 field
    • description string max length 1,500
  • websiteUri string nullable uri
  • phoneNumbers object nullable
    2 fields
    • primaryPhone string
    • additionalPhones string[]
  • categories object nullable
    2 fields
    • primaryCategory object
      1 field
      • name string
    • additionalCategories object[]
      1 field
      • name string
  • storefrontAddress object nullable
    6 fields
    • regionCode string
    • languageCode string
    • postalCode string
    • administrativeArea string
    • locality string
    • addressLines string[]
  • regularHours object nullable
    1 field
    • periods object[]
      4 fields
      • openDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

  • specialHours object nullable
    1 field
    • specialHourPeriods object[]
      5 fields
      • startDate object
        3 fields
        • year integer
        • month integer ≥ 1≤ 12
        • day integer ≥ 1≤ 31
      • endDate object
        3 fields
        • year integer
        • month integer ≥ 1≤ 12
        • day integer ≥ 1≤ 31
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closed boolean
  • moreHours object[] nullable
    2 fields
    • hoursTypeId string
    • periods object[]
      4 fields
      • openDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

  • openInfo object nullable
  • serviceArea object nullable
  • latlng object nullable
    2 fields
    • latitude number
    • longitude number

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID"
  }'

Response 200

1 top-level fields
  • name string

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

PATCH /api/v1/misc/google-business/location/hours

Update Google Business regular/special/more hours

misc.google_business.updateHours · requires x-api-key

Request body application/json

  • teamId string required
  • validateOnly boolean
  • fields string[] required min 1 itemsmax 3 items
    One of: regularHours specialHours moreHours
  • regularHours object nullable
    1 field
    • periods object[]
      4 fields
      • openDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

  • specialHours object nullable
    1 field
    • specialHourPeriods object[]
      5 fields
      • startDate object
        3 fields
        • year integer
        • month integer ≥ 1≤ 12
        • day integer ≥ 1≤ 31
      • endDate object
        3 fields
        • year integer
        • month integer ≥ 1≤ 12
        • day integer ≥ 1≤ 31
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closed boolean
  • moreHours object[] nullable
    2 fields
    • hoursTypeId string
    • periods object[]
      4 fields
      • openDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location/hours" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "fields": [
      "regularHours"
    ]
  }'

Response 200

1 top-level fields
  • name string

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

GET /api/v1/misc/google-business/location/attributes

Get Google Business location attributes

misc.google_business.getAttributes · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/attributes?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

2 top-level fields
  • name string
  • attributes object[] default []
    4 fields
    • name string required
    • values any[] nullable
    • repeatedEnumValue object
      1 field
      • setValues string[]
    • uriValues object[]
      1 field
      • uri 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

PATCH /api/v1/misc/google-business/location/attributes

Update Google Business location attributes

misc.google_business.updateAttributes · requires x-api-key

Request body application/json

  • teamId string required
  • attributeMask string
  • attributes object[] nullable
    4 fields
    • name string required
    • values any[] nullable
    • repeatedEnumValue object
      1 field
      • setValues string[]
    • uriValues object[]
      1 field
      • uri string required min length 1

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location/attributes" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID"
  }'

Response 200

2 top-level fields
  • name string
  • attributes object[] default []
    4 fields
    • name string required
    • values any[] nullable
    • repeatedEnumValue object
      1 field
      • setValues string[]
    • uriValues object[]
      1 field
      • uri 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

GET /api/v1/misc/google-business/location/attributes/available

List available Google Business attributes

misc.google_business.listAvailableAttributes · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
languageCode query string
regionCode query string
pageSize query integer
pageToken query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/attributes/available?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

3 top-level fields
  • attributes object[] default []
  • nextPageToken string
  • lookup object
    4 fields
    • by string required
      One of: category location
    • categoryName string
    • regionCode string
    • languageCode string

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

GET /api/v1/misc/google-business/location/search-keywords

List the search terms customers used to find the location

misc.google_business.listSearchKeywords · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
startMonth required query string
endMonth required query string
pageSize query integer
pageToken query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/search-keywords?teamId=TEAM_ID&startMonth=string&endMonth=string" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

4 top-level fields
  • location string required
  • range object required
    2 fields
    • startMonth string required pattern ^\d{4}-(0[1-9]|1[0-2])$
    • endMonth string required pattern ^\d{4}-(0[1-9]|1[0-2])$
  • searchKeywords object[] default []
    3 fields
    • searchKeyword string required
    • value number nullable
    • threshold number nullable
  • nextPageToken string

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

GET /api/v1/misc/google-business/location/categories/available

List available Google Business categories

misc.google_business.listCategories · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
regionCode required query string
languageCode required query string
names query string[]
filter query string
pageSize query integer default 50
pageToken query string
view query string One of CATEGORY_VIEW_UNSPECIFIED, BASIC, FULL · default "BASIC"

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/categories/available?teamId=TEAM_ID&regionCode=string&languageCode=string" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

2 top-level fields
  • categories object[] default []
  • nextPageToken string

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

GET /api/v1/misc/google-business/location/service-list

Get Google Business service list

misc.google_business.getServiceList · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/service-list?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

2 top-level fields
  • name string
  • serviceItems object[]

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

PATCH /api/v1/misc/google-business/location/service-list

Update Google Business service list

misc.google_business.updateServiceList · requires x-api-key

Request body application/json

  • teamId string required
  • fields string[] required min 1 itemsmax 1 items
    One of: serviceItems
  • serviceItems object[] nullable

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location/service-list" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "fields": [
      "serviceItems"
    ]
  }'

Response 200

2 top-level fields
  • name string
  • serviceItems object[]

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

GET /api/v1/misc/google-business/location/food-menus

Get Google Business food menus

misc.google_business.getFoodMenus · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
fields query string[] nullable

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/food-menus?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

2 top-level fields
  • name string
  • menus object[]

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

PATCH /api/v1/misc/google-business/location/food-menus

Update Google Business food menus

misc.google_business.updateFoodMenus · requires x-api-key

Request body application/json

  • teamId string required
  • fields string[] required min 1 itemsmax 1 items
    One of: menus
  • menus object[] nullable

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location/food-menus" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "fields": [
      "menus"
    ]
  }'

Response 200

2 top-level fields
  • name string
  • menus object[]

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

POST /api/v1/misc/google-business/reviews/import

Start a new Google Reviews import

misc.google_business.importReviews · requires x-api-key

Request body application/json

  • teamId string required
  • count integer required ≥ 1

Example

curl -X POST "https://api.siaran.my/api/v1/misc/google-business/reviews/import" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "count": 1
  }'

Response 201

13 top-level fields
  • id string required
  • teamId string required
  • socialAccountId string required
  • requestedCount number required
  • status string required
    One of: PENDING FETCHING_REVIEWS COMPLETED FAILED RATE_LIMITED
  • reviewsImported number required
  • error string nullable
  • rateLimitResetAt string nullable date-time
  • startedAt string nullable date-time
  • completedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string nullable date-time

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

GET /api/v1/misc/google-business/reviews/import

Get review import status list

misc.google_business.getReviewImportStatus · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/reviews/import?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

1 top-level fields
  • imports object[] required
    13 fields
    • id string required
    • teamId string required
    • socialAccountId string required
    • requestedCount number required
    • status string required
      One of: PENDING FETCHING_REVIEWS COMPLETED FAILED RATE_LIMITED
    • reviewsImported number required
    • error string nullable
    • rateLimitResetAt string nullable date-time
    • startedAt string nullable date-time
    • completedAt string nullable date-time
    • createdAt string required nullable date-time
    • updatedAt string required nullable date-time
    • deletedAt string nullable date-time

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

GET /api/v1/misc/google-business/reviews/import/{importId}

Get review import by ID

misc.google_business.getReviewImportById · requires x-api-key

Parameters

NameInTypeNotes
importId required path string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/reviews/import/IMPORTID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

13 top-level fields
  • id string required
  • teamId string required
  • socialAccountId string required
  • requestedCount number required
  • status string required
    One of: PENDING FETCHING_REVIEWS COMPLETED FAILED RATE_LIMITED
  • reviewsImported number required
  • error string nullable
  • rateLimitResetAt string nullable date-time
  • startedAt string nullable date-time
  • completedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string nullable date-time

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

GET /api/v1/misc/google-business/reviews

List imported Google Reviews

misc.google_business.getReviews · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
limit query number default 50
offset query number default 0 · nullable

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/reviews?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

4 top-level fields
  • reviews object[] required
    19 fields
    • id string required
    • socialAccountId string required
    • teamId string required
    • externalReviewId string required
    • reviewerDisplayName string nullable
    • reviewerProfilePhotoUrl string nullable
    • starRating string nullable
      One of: ONE TWO THREE FOUR FIVE
    • comment string nullable
    • reviewReplyComment string nullable
    • reviewReplyUpdatedAt string nullable date-time
    • reviewReplyState string nullable
      One of: REVIEW_REPLY_STATE_UNSPECIFIED PENDING REJECTED APPROVED
    • reviewReplyPolicyViolation string nullable
    • reviewReplyUrl string nullable
    • createTime string nullable date-time
    • updateTime string nullable date-time
    • importedAt string nullable date-time
    • createdAt string required nullable date-time
    • updatedAt string required nullable date-time
    • deletedAt string nullable date-time
  • total number required
  • limit number required
  • remainingCapacity number 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

GET /api/v1/misc/google-business/reviews/{reviewId}

Get a single imported Google Review

misc.google_business.getReviewById · requires x-api-key

Parameters

NameInTypeNotes
reviewId required path string
teamId required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/google-business/reviews/REVIEWID?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

19 top-level fields
  • id string required
  • socialAccountId string required
  • teamId string required
  • externalReviewId string required
  • reviewerDisplayName string nullable
  • reviewerProfilePhotoUrl string nullable
  • starRating string nullable
    One of: ONE TWO THREE FOUR FIVE
  • comment string nullable
  • reviewReplyComment string nullable
  • reviewReplyUpdatedAt string nullable date-time
  • reviewReplyState string nullable
    One of: REVIEW_REPLY_STATE_UNSPECIFIED PENDING REJECTED APPROVED
  • reviewReplyPolicyViolation string nullable
  • reviewReplyUrl string nullable
  • createTime string nullable date-time
  • updateTime string nullable date-time
  • importedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string nullable date-time

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

PUT /api/v1/misc/google-business/reviews/{reviewId}/reply

Reply to a Google Review (creates or updates the owner reply)

misc.google_business.replyToReview · requires x-api-key

Parameters

NameInTypeNotes
reviewId required path string

Request body application/json

  • teamId string required
  • comment string required min length 1max length 4,096

Example

curl -X PUT "https://api.siaran.my/api/v1/misc/google-business/reviews/REVIEWID/reply" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "comment": "string"
  }'

Response 200

19 top-level fields
  • id string required
  • socialAccountId string required
  • teamId string required
  • externalReviewId string required
  • reviewerDisplayName string nullable
  • reviewerProfilePhotoUrl string nullable
  • starRating string nullable
    One of: ONE TWO THREE FOUR FIVE
  • comment string nullable
  • reviewReplyComment string nullable
  • reviewReplyUpdatedAt string nullable date-time
  • reviewReplyState string nullable
    One of: REVIEW_REPLY_STATE_UNSPECIFIED PENDING REJECTED APPROVED
  • reviewReplyPolicyViolation string nullable
  • reviewReplyUrl string nullable
  • createTime string nullable date-time
  • updateTime string nullable date-time
  • importedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string nullable date-time

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/google-business/reviews/{reviewId}/reply

Delete the owner reply from a Google Review

misc.google_business.deleteReviewReply · requires x-api-key

Parameters

NameInTypeNotes
reviewId required path string

Request body application/json

  • teamId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/google-business/reviews/REVIEWID/reply" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID"
  }'

Response 200

19 top-level fields
  • id string required
  • socialAccountId string required
  • teamId string required
  • externalReviewId string required
  • reviewerDisplayName string nullable
  • reviewerProfilePhotoUrl string nullable
  • starRating string nullable
    One of: ONE TWO THREE FOUR FIVE
  • comment string nullable
  • reviewReplyComment string nullable
  • reviewReplyUpdatedAt string nullable date-time
  • reviewReplyState string nullable
    One of: REVIEW_REPLY_STATE_UNSPECIFIED PENDING REJECTED APPROVED
  • reviewReplyPolicyViolation string nullable
  • reviewReplyUrl string nullable
  • createTime string nullable date-time
  • updateTime string nullable date-time
  • importedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string nullable date-time

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

GET /api/v1/misc/reddit/post-requirements

Get subreddit post requirements (flair required/enabled)

misc.reddit.getPostRequirements · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
subreddit required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/reddit/post-requirements?teamId=TEAM_ID&subreddit=string" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

2 top-level fields
  • isFlairRequired boolean required
  • isFlairEnabled 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

GET /api/v1/misc/reddit/subreddit-flairs

Get subreddit flairs list

misc.reddit.getSubredditFlairs · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
subreddit required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/reddit/subreddit-flairs?teamId=TEAM_ID&subreddit=string" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

8 top-level fields
  • id string
  • text string
  • cssClass string
  • textColor string
  • backgroundColor string
  • modOnly boolean
  • allowableContent string
  • maxEmojis number

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

PATCH /api/v1/misc/reddit/post

Edit an existing Reddit post

misc.reddit.editPost · requires x-api-key

Request body application/json

  • teamId string required
  • postId string required
  • description string required

Example

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

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/reddit/post

Delete a Reddit post

misc.reddit.deletePost · 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/reddit/post" \
  -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

PATCH /api/v1/misc/reddit/comment

Edit an existing Reddit comment

misc.reddit.editComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required
  • text string required min length 1max length 10,000

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/reddit/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_ID",
    "text": "Hello from Siar"
  }'

Response 200

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

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/reddit/comment

Delete a Reddit comment

misc.reddit.deleteComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/reddit/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_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

GET /api/v1/misc/instagram/tags

Search for Instagram Business/Creator user by username

misc.instagram.businessDiscovery · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
username required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/instagram/tags?teamId=TEAM_ID&username=Example" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

2 top-level fields
  • exists boolean required
  • data object required nullable
    8 fields
    • id string required
    • username string required
    • followers_count number required
    • media_count number required
    • profile_picture_url string uri
    • biography string
    • name string
    • media object
      1 field
      • data object[] required
        6 fields
        • id string required
        • media_type string required
        • like_count number
        • comments_count number
        • timestamp string
        • caption string

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

GET /api/v1/misc/instagram/locations

Search Instagram location IDs

misc.instagram.searchLocations · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
q required query string
limit query integer default 10

Example

curl -X GET "https://api.siaran.my/api/v1/misc/instagram/locations?teamId=TEAM_ID&q=string" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

1 top-level fields
  • items object[] required
    4 fields
    • locationId string required
    • name string required
    • link string nullable
    • location object nullable
      7 fields
      • city string nullable
      • country string nullable
      • latitude number nullable
      • longitude number nullable
      • state string nullable
      • street string nullable
      • zip string nullable

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

GET /api/v1/misc/instagram/audio

Search Instagram audio assets

misc.instagram.searchAudio · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
audioType required query string One of original_sound, music
searchQuery query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/instagram/audio?teamId=TEAM_ID&audioType=original_sound" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

1 top-level fields
  • audio object[] default []
    10 fields
    • audio_id string required
    • cover_artwork_thumbnail_uri string nullable
    • cover_artwork_thumbnail_url string nullable
    • display_artist string nullable
    • duration_in_ms integer nullable
    • audio_type string required
      One of: original_sound music
    • title string nullable
    • download_url string nullable
    • ig_username string nullable
    • profile_picture_url string nullable

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/instagram/comment

Delete an Instagram comment

misc.instagram.deleteComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/instagram/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_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

GET /api/v1/misc/facebook/pages

Search Facebook Pages

misc.facebook.searchPages · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
q required query string
limit query integer default 10

Example

curl -X GET "https://api.siaran.my/api/v1/misc/facebook/pages?teamId=TEAM_ID&q=string" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

1 top-level fields
  • items object[] required
    4 fields
    • pageId string required
    • name string required
    • link string nullable
    • location object nullable
      7 fields
      • city string nullable
      • country string nullable
      • latitude number nullable
      • longitude number nullable
      • state string nullable
      • street string nullable
      • zip string nullable

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

GET /api/v1/misc/facebook/text-format-presets

List Facebook text background presets

misc.facebook.getTextFormatPresets · requires x-api-key

Example

curl -X GET "https://api.siaran.my/api/v1/misc/facebook/text-format-presets" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

1 top-level fields
  • presets object[] required
    4 fields
    • id string required
    • label string required
    • kind string required
      One of: color gradient illustration
    • color string nullable

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

GET /api/v1/misc/facebook/token-debug

Get Facebook token debug details

misc.facebook.getTokenDebug · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/facebook/token-debug?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

8 top-level fields
  • type string
    One of: USER PAGE
  • application string
  • data_access_expires_at number
  • is_valid boolean required
  • issued_at number
  • scopes string[] required
  • granular_scopes object[] required
    2 fields
    • scope string required
    • target_ids string[]
  • error object
    3 fields
    • code number required
    • message string required
    • subcode number

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

POST /api/v1/misc/facebook/recommendations/import

Start a new Facebook recommendations import

misc.facebook.importRecommendations · requires x-api-key

Request body application/json

  • teamId string required
  • count integer required ≥ 1≤ 250

Example

curl -X POST "https://api.siaran.my/api/v1/misc/facebook/recommendations/import" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "count": 1
  }'

Response 201

13 top-level fields
  • id string required
  • teamId string required
  • socialAccountId string required
  • requestedCount number required
  • status string required
    One of: PENDING FETCHING_RECOMMENDATIONS COMPLETED FAILED RATE_LIMITED
  • itemsImported number required
  • error string nullable
  • rateLimitResetAt string nullable date-time
  • startedAt string nullable date-time
  • completedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string nullable date-time

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

GET /api/v1/misc/facebook/recommendations/import

Get Facebook recommendations import status list

misc.facebook.getRecommendationImportStatus · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/facebook/recommendations/import?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

1 top-level fields
  • imports object[] required
    13 fields
    • id string required
    • teamId string required
    • socialAccountId string required
    • requestedCount number required
    • status string required
      One of: PENDING FETCHING_RECOMMENDATIONS COMPLETED FAILED RATE_LIMITED
    • itemsImported number required
    • error string nullable
    • rateLimitResetAt string nullable date-time
    • startedAt string nullable date-time
    • completedAt string nullable date-time
    • createdAt string required nullable date-time
    • updatedAt string required nullable date-time
    • deletedAt string nullable date-time

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

GET /api/v1/misc/facebook/recommendations/import/{importId}

Get Facebook recommendations import by ID

misc.facebook.getRecommendationImportById · requires x-api-key

Parameters

NameInTypeNotes
importId required path string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/facebook/recommendations/import/IMPORTID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

13 top-level fields
  • id string required
  • teamId string required
  • socialAccountId string required
  • requestedCount number required
  • status string required
    One of: PENDING FETCHING_RECOMMENDATIONS COMPLETED FAILED RATE_LIMITED
  • itemsImported number required
  • error string nullable
  • rateLimitResetAt string nullable date-time
  • startedAt string nullable date-time
  • completedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string nullable date-time

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

GET /api/v1/misc/facebook/recommendations

List imported Facebook recommendations

misc.facebook.getRecommendations · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
limit query number default 50
offset query number default 0 · nullable

Example

curl -X GET "https://api.siaran.my/api/v1/misc/facebook/recommendations?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

4 top-level fields
  • recommendations object[] required
    21 fields
    • id string required
    • socialAccountId string required
    • teamId string required
    • externalRecommendationId string required
    • openGraphStoryId string nullable
    • reviewerDisplayName string nullable
    • reviewerProfilePhotoUrl string nullable
    • recommendationValue string nullable
      One of: RECOMMEND NOT_RECOMMEND UNKNOWN
    • rating number nullable
    • comment string nullable
    • hasMedia boolean required
    • mediaSummary string[] nullable
    • ownerReplyComment string nullable
    • ownerReplyCommentId string nullable
    • ownerReplyUpdatedAt string nullable date-time
    • createTime string nullable date-time
    • updateTime string nullable date-time
    • importedAt string nullable date-time
    • createdAt string required nullable date-time
    • updatedAt string required nullable date-time
    • deletedAt string nullable date-time
  • total number required
  • limit number required
  • remainingCapacity number 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

GET /api/v1/misc/facebook/recommendations/{recommendationId}

Get a single imported Facebook recommendation

misc.facebook.getRecommendationById · requires x-api-key

Parameters

NameInTypeNotes
recommendationId required path string
teamId required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/facebook/recommendations/RECOMMENDATIONID?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

21 top-level fields
  • id string required
  • socialAccountId string required
  • teamId string required
  • externalRecommendationId string required
  • openGraphStoryId string nullable
  • reviewerDisplayName string nullable
  • reviewerProfilePhotoUrl string nullable
  • recommendationValue string nullable
    One of: RECOMMEND NOT_RECOMMEND UNKNOWN
  • rating number nullable
  • comment string nullable
  • hasMedia boolean required
  • mediaSummary string[] nullable
  • ownerReplyComment string nullable
  • ownerReplyCommentId string nullable
  • ownerReplyUpdatedAt string nullable date-time
  • createTime string nullable date-time
  • updateTime string nullable date-time
  • importedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string nullable date-time

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

GET /api/v1/misc/facebook/recommendations/{recommendationId}/comments

Get recommendation thread comments

misc.facebook.getRecommendationComments · requires x-api-key

Parameters

NameInTypeNotes
recommendationId required path string
teamId required query string

Example

curl -X GET "https://api.siaran.my/api/v1/misc/facebook/recommendations/RECOMMENDATIONID/comments?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

2 top-level fields
  • comments object[] required
    12 fields
    • id string required
    • recommendationId string required
    • rootObjectId string required
    • parentCommentId string nullable
    • authorName string nullable
    • authorExternalId string nullable
    • authorAvatarUrl string nullable
    • text string nullable
    • likesCount number required
    • repliesCount number required
    • canReply boolean nullable
    • createdTime string nullable date-time
  • total number 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

PUT /api/v1/misc/facebook/recommendations/{recommendationId}/reply

Reply to a Facebook recommendation

misc.facebook.replyToRecommendation · requires x-api-key

Parameters

NameInTypeNotes
recommendationId required path string

Request body application/json

  • teamId string required
  • comment string required min length 1max length 4,096

Example

curl -X PUT "https://api.siaran.my/api/v1/misc/facebook/recommendations/RECOMMENDATIONID/reply" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "comment": "string"
  }'

Response 200

21 top-level fields
  • id string required
  • socialAccountId string required
  • teamId string required
  • externalRecommendationId string required
  • openGraphStoryId string nullable
  • reviewerDisplayName string nullable
  • reviewerProfilePhotoUrl string nullable
  • recommendationValue string nullable
    One of: RECOMMEND NOT_RECOMMEND UNKNOWN
  • rating number nullable
  • comment string nullable
  • hasMedia boolean required
  • mediaSummary string[] nullable
  • ownerReplyComment string nullable
  • ownerReplyCommentId string nullable
  • ownerReplyUpdatedAt string nullable date-time
  • createTime string nullable date-time
  • updateTime string nullable date-time
  • importedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string nullable date-time

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

PUT /api/v1/misc/facebook/recommendations/{recommendationId}/comments/{commentId}/reply

Reply to a Facebook recommendation thread comment

misc.facebook.replyToRecommendationComment · requires x-api-key

Parameters

NameInTypeNotes
recommendationId required path string
commentId required path string

Request body application/json

  • teamId string required
  • comment string required min length 1max length 4,096

Example

curl -X PUT "https://api.siaran.my/api/v1/misc/facebook/recommendations/RECOMMENDATIONID/comments/COMMENTID/reply" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "comment": "string"
  }'

Response 200

1 top-level fields
  • id 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

PATCH /api/v1/misc/facebook/post

Edit an existing Facebook post

misc.facebook.editPost · requires x-api-key

Request body application/json

  • teamId string required
  • postId string required
  • description string

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/facebook/post" \
  -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/facebook/post

Delete a Facebook post

misc.facebook.deletePost · 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/facebook/post" \
  -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

PATCH /api/v1/misc/facebook/comment

Edit a Facebook comment

misc.facebook.editComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required
  • text string required min length 1max length 8,000

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/facebook/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_ID",
    "text": "Hello from Siar"
  }'

Response 200

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

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/facebook/comment

Delete a Facebook comment

misc.facebook.deleteComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/facebook/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_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

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

PATCH /api/v1/misc/mastodon/status

Edit an existing Mastodon status

misc.mastodon.editStatus · requires x-api-key

Request body application/json

  • teamId string required
  • postId string required
  • description string required
  • spoilerText string

Example

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

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/mastodon/status

Delete a Mastodon status

misc.mastodon.deleteStatus · 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/mastodon/status" \
  -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

PATCH /api/v1/misc/mastodon/comment

Edit a Mastodon comment

misc.mastodon.editComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required
  • text string required min length 1max length 500
  • spoilerText string max length 500

Example

curl -X PATCH "https://api.siaran.my/api/v1/misc/mastodon/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_ID",
    "text": "Hello from Siar"
  }'

Response 200

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

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/mastodon/comment

Delete a Mastodon comment

misc.mastodon.deleteComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/mastodon/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_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

PATCH /api/v1/misc/slack/message

Edit an existing Slack message

misc.slack.editMessage · requires x-api-key

Request body application/json

  • teamId string required
  • postId string required
  • description string required

Example

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

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/slack/message

Delete a Slack message

misc.slack.deleteMessage · 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/slack/message" \
  -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

DELETE /api/v1/misc/bluesky/post

Delete a Bluesky post

misc.bluesky.deletePost · 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/bluesky/post" \
  -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

DELETE /api/v1/misc/bluesky/comment

Delete a Bluesky comment

misc.bluesky.deleteComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/bluesky/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_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

DELETE /api/v1/misc/twitter/tweet

Delete a Twitter/X tweet

misc.twitter.deleteTweet · 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/twitter/tweet" \
  -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

DELETE /api/v1/misc/twitter/comment

Delete a Twitter/X comment

misc.twitter.deleteComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/twitter/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_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

POST /api/v1/misc/twitter/retweet

Repost a Twitter/X post

misc.twitter.retweet · requires x-api-key

Request body application/json

  • teamId string required
  • tweetId string required pattern ^\d+$

Example

curl -X POST "https://api.siaran.my/api/v1/misc/twitter/retweet" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "tweetId": "TWEET_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

DELETE /api/v1/misc/twitter/retweet

Undo a Twitter/X repost

misc.twitter.unretweet · requires x-api-key

Request body application/json

  • teamId string required
  • tweetId string required pattern ^\d+$

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/twitter/retweet" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "tweetId": "TWEET_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

DELETE /api/v1/misc/discord/message

Delete a Discord message

misc.discord.deleteMessage · 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/discord/message" \
  -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

GET /api/v1/misc/tiktok/cml/trending-list

Get popular tracks from TikTok Commercial Music Library

misc.tiktok.getCommercialMusicTrendingList · requires x-api-key

Parameters

NameInTypeNotes
teamId required query string
genre query string One of ROCK, POP, LATIN, METAL, ELECTRONIC, HIP_HOP/RAP, ALTERNATIVE/INDIE, R&B/SOUL, COUNTRY, CLASSICAL, JAZZ, CHILDHOOD, ALTERNATIVE_HIP_HOP, AMBIENT, BOSSA_NOVA, BRAZILIAN_FUNK_STYLE, CHILL_BEATS, CHILLOUT, CHINESE_POP, CHRISTIAN_MUSIC, COUNTRY_POP, DANCE_POP, DISCO, DJ, DRUM&BASS, DUBSTEP, EDM, FUNK, HOUSE, INDIE_POP, J-POP, K-POP, LATIN_POP, LO-FI, OLD_SCHOOL, PUNK, RUSSIAN_POP, SOUL, SOUNDTRACK, SYNTH_POP, TECHNO, TEEN_POP · default "POP"
dateRange query string One of 1DAY, 7DAY, 30DAY · default "7DAY"

Example

curl -X GET "https://api.siaran.my/api/v1/misc/tiktok/cml/trending-list?teamId=TEAM_ID" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

10 top-level fields
  • commercial_music_name string nullable
  • duration integer nullable
  • thumbnail_url string required uri
  • artist string required
  • preview_url string nullable uri
  • genres string[] default []
  • rank_position string required
  • trending_history object[] default []
    2 fields
    • date string required
    • rank_position_daily string nullable
  • full_duration_song_clip object nullable
    3 fields
    • preview_url string nullable uri
    • duration integer nullable
    • song_clip_id string required
  • trending_song_clip object nullable
    3 fields
    • preview_url string nullable uri
    • duration integer nullable
    • song_clip_id 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/tiktok/comment

Delete a TikTok comment

misc.tiktok.deleteComment · requires x-api-key

Request body application/json

  • teamId string required
  • commentId string required

Example

curl -X DELETE "https://api.siaran.my/api/v1/misc/tiktok/comment" \
  -H "x-api-key: $SIAR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "teamId": "TEAM_ID",
    "commentId": "COMMENT_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