Skip to main content
GET
Get an opportunity
One opportunity in full, as its page in the portal shows it: the site and its figures, the price, the steps of the placement, the article, your answer and the history. The fields the list carries keep their names and meaning. An id that is not one of your opportunities is a 404 not_found, the same answer whether it does not exist or belongs to someone else. So is an opportunity whose format is not decided yet (format: null in the list): it can be read in full once it is.

Fields

  • title: the article’s title once known, else the site’s name.
  • site.indicators: the page’s Performance figures. value is null when nothing was measured, never a zero; display is how the page prints it.
  • offer: what is offered, in plain words, and who does what.
  • available_actions: what you may do now: accept, counter_offer and decline while the opportunity awaits your answer, an empty list otherwise.
  • decision_due: the deadline of your answer while it is owed; late once passed.
  • price: the total, its lines (breakdown) and what it does not hold yet (not_included).
  • brief: the target keyword and the link’s anchor, null until either is decided.
  • article: the page the mention goes in, as soon as its address is known. live_url and published_at: once the mention is live.
  • progress: the steps in order. state is done, current or ahead; at is when a step was reached. caption reads Step 2 of 5, then Done once live, or Closed when it ended without going live. When no step can be named yet, steps is empty and caption is an empty string.
  • decision: your answer that stands, null while none does. kind is accepted, passed, or closed when we closed the opportunity without an answer of yours. by says through what: in the app, on Slack by @name (or on Slack when Slack gave no handle), via the API (key “name”), recorded by HelloSearch, or by HelloSearch for a closing of ours.
  • history: what happened, newest first. by is your account’s name or HelloSearch; a decision made through the API adds the key (Acme via the API (key “Zapier”)). note holds your own words, such as the terms of a counter-offer, or, for a decision pressed on Slack, who pressed it: Accepted on Slack by @name or Passed on Slack by @name, without the handle when Slack gave none. A press one of our team made in your place reads HelloSearch with no note. We never write a note of our own there.
  • content: the article’s versions, with their text, the links they place and the verdict; null where the page shows no article.
  • next_moves: who moves next (client or hellosearch), then what comes after.

Authorizations

Authorization
string
header
required

An access key from your portal, under Settings > Access keys. It starts with hs_live_.

Path Parameters

id
string
required

The opportunity's id, as the list gives it.

Example:

"4b1d2f9e-7c3a-4e8b-9a61-2f0d8c5e7b13"

Response

The opportunity.

id
string
required
title
string
required

The article's title once known, else the site's name.

site
object
required
format
object
required
offer
object
required
stage
object
required
status_label
string
required
awaiting_your_decision
boolean
required
available_actions
enum<string>[]
required

What you may do now; empty when nothing is yours to decide.

Available options:
accept,
counter_offer,
decline
decision_due
object | null
required
price
object
required
brief
object | null
required
article
object | null
required
live_url
string<uri> | null
required
published_at
string<date-time> | null
required
progress
object
required
decision
object | null
required
history
object[]
required

Newest first.

content
object | null
required
next_moves
object[]
required