Skip to content
Navigation

List projects

GET
https://whyviral.ai/api/v1/projects

Your account’s projects, oldest first, each with what it tracks (its brand, competitors, topics, hashtags and campaign tags) and its schedule. Free.

Authorization

  • bearer
    optional
    HTTP Bearer

    Authorization: Bearer <token>

  • apiKeyHeader
    optional
    API key in header

    x-api-key: <token>

Returns

200

The projects.

JSON
  • object
    string
    required
  • data
    array of
    object
    required
    • id
      string
      required

      The project’s id, which project takes.

    • object
      string
      required

      "project".

    • name
      string
      required

      Its name, which project also takes.

    • active
      boolean
      required

      True for the project open in the app: the one a request without project reads.

    • website
      required

      The brand’s website.

      Any of the following:

      • string
      • null
    • description
      required

      What the brand is, as its owner wrote it.

      Any of the following:

      • string
      • null
    • trackers
      array of
      object
      required

      What the project tracks, its own brand first; see the table below. tracker takes a tracker’s id or name.

      • id
        string
        required

        The tracker’s id.

      • kind
        brand
        or
        competitor
        or
        topic
        or
        hashtag
        or
        campaign_tag
        required

        brand (the project’s own), competitor, topic, hashtag or campaign_tag.

      • name
        string
        required

        Its name; a hashtag’s is the tag with its #.

      • own
        boolean
        required

        True for the project’s own brand.

      • keywords
        array of
        string
        required

        Names and spellings: a post that says, shows or writes one is a mention. A topic’s are the phrases its weekly watch searches.

      • accounts
        array of
        object
        required

        [{platform, handle}]: its own accounts. A post that tags or mentions one is a mention; their own posts are the own mentions.

        • platform
          tiktok
          or
          instagram
          or
          youtube
          or
          x
          required
        • handle
          string
          required

          Without @.

      • hashtags
        array of
        string
        required

        Hashtags without #; each matches only as a whole hashtag.

      • excluded_words
        array of
        string
        required

        Words that cancel a match of this tracker.

      • platforms
        array of
        tiktok
        or
        instagram
        or
        youtube
        or
        x
        required

        Where it is searched.

      • paused
        boolean
        required

        True while it isn’t searched and no new post counts for it.

      • starts_on
        required

        A campaign tag’s first day, YYYY-MM-DD; posts before it don’t count.

        Any of the following:

        • string
        • null
      • ends_on
        required

        Its last day; null while it is open.

        Any of the following:

        • string
        • null
      • campaign_id
        required

        The campaign a campaign tag goes with.

        Any of the following:

        • string
        • null
    • excluded_everywhere
      array of
      string
      required

      Words that cancel a match of anything the project tracks.

    • criteria
      array of
      object
      required

      [{level, requirement}]: what the project asks of a creator; level is must or nice.

      • level
        must
        or
        nice
        required
      • requirement
        string
        required
    • listening
      object
      required

      {enabled, watch_per_week, weekly_credit_limit, next_search_at, next_watch_at, last_search_at, last_watch_at}: whether the scheduled searches and the weekly watch run, how many videos a watch reads, and the credits a week they may spend (null for no limit).

      • enabled
        boolean
        required
      • watch_per_week
        integer
        required
        minimum: 0
      • weekly_credit_limit
        required

        Any of the following:

        • integer
        • null
      • next_search_at
        required

        Any of the following:

        • string
        • null
      • next_watch_at
        required

        Any of the following:

        • string
        • null
      • last_search_at
        required

        Any of the following:

        • string
        • null
      • last_watch_at
        required

        Any of the following:

        • string
        • null
    • created_at
      required

      When the project was made.

      Any of the following:

      • string
      • null

401

INVALID_API_KEY: The key is missing, mistyped or revoked.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

403

ACCOUNT_DISABLED: The key’s account is disabled.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

429

RATE_LIMITED: Too many new reads, data requests, searches or report links; wait the Retry-After header’s seconds.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

500

INTERNAL: Something broke on our side; try again.
JSON
  • error
    object
    required

    Some codes add details, such as cap, required or balance.

    • code
      string
      ·
      one of 16 values
      required
      Allowed values: INVALID_REQUEST, UNSUPPORTED_LINK, INVALID_PERIOD, AMBIGUOUS_PROJECT, INVALID_REPORT, CREATOR_NOT_SAVED, TOO_MANY_REPORTS, INVALID_API_KEY, INSUFFICIENT_CREDITS, ACCOUNT_DISABLED, NOT_FOUND, TRACKER_NOT_FOUND, MONTHLY_LIMIT, RATE_LIMITED, INTERNAL, SEARCH_UNAVAILABLE
    • message
      string
      required

      What went wrong, in words.

Type to search…

↑↓ navigate↵ selectEsc close