Skip to content
Navigation

Send a page the extension read

One page of posts (at most 200): accounts and posts are added or updated (fields left out keep their value), numbers are snapshotted at most hourly, and medians and outlier scores are worked out again. Saved, Liked, Favorites and collection pages also fill a Library collection. Needs the videos:create permission.

POST
https://app.mosio.me/v1/discover/ingest

Authorization

  • apiKeyAPI key in headerrequired

Request bodyJSONrequired

  • platformtiktokorinstagramoryoutubeorfacebookrequired
  • pageprofileorsearchorexploreorfeedorsavedorliked+2 morerequired
  • postsarray ofobjectrequired
    • external_idstringrequired
      maxLength: 200 · minLength: 1
    • urlstringrequired
      format: uri · maxLength: 2000
    • accountoptionalobject
      • handlestringrequired
        maxLength: 100 · minLength: 1
      • nameoptionalstring
        maxLength: 200
      • avatar_urloptionalstring
        format: uri · maxLength: 2000
      • urloptionalstring
        format: uri · maxLength: 2000
      • followersoptional

        One of the following:

        • integer
        • null
      • posts_countoptional

        One of the following:

        • integer
        • null
    • kindoptionalvideoorimageorcarousel
      default: "video"
    • captionoptionalstring
      maxLength: 5000 · default: ""
    • thumbnail_urloptionalstring
      format: uri · maxLength: 2000
    • duration_secondsoptional

      One of the following:

      • number
      • null
    • posted_atoptional

      One of the following:

      • string
      • null
    • viewsoptional

      One of the following:

      • integer
      • null
    • likesoptional

      One of the following:

      • integer
      • null
    • commentsoptional

      One of the following:

      • integer
      • null
    • sharesoptional

      One of the following:

      • integer
      • null
    • savesoptional

      One of the following:

      • integer
      • null
    • transcriptoptional

      One of the following:

      • string
      • null
  • page_urloptionalstring
    format: uri · maxLength: 2000
  • accountoptionalobject
    • handlestringrequired
      maxLength: 100 · minLength: 1
    • nameoptionalstring
      maxLength: 200
    • avatar_urloptionalstring
      format: uri · maxLength: 2000
    • urloptionalstring
      format: uri · maxLength: 2000
    • followersoptional

      One of the following:

      • integer
      • null
    • posts_countoptional

      One of the following:

      • integer
      • null
  • collection_nameoptionalstring
    maxLength: 80 · minLength: 1

Returns

200

What changed.

JSON
  • accountsintegerrequired
    maximum: 9007199254740991 · minimum: -9007199254740991
  • posts_newintegerrequired
    maximum: 9007199254740991 · minimum: -9007199254740991
  • posts_updatedintegerrequired
    maximum: 9007199254740991 · minimum: -9007199254740991
  • skippedintegerrequired
    maximum: 9007199254740991 · minimum: -9007199254740991
  • collection_idstring | nullrequired
  • postsarray ofobjectrequired
    • external_idstringrequired
    • idstringrequired
    • account_idstringrequired
    • outlier_scorenumber | nullrequired
    • engagement_ratenumber | nullrequired

400

The request body is not valid JSON or does not match the schema.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

401

The API key is missing or not valid.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

Type to search…

↑↓ navigate↵ selectEsc close