Skip to main content
Your answer to an opportunity that awaits it, with the same effects as the buttons on its page in the portal: The portal then shows the decision as made via the API (key “name”), with the name of your key.
A decision is real, exactly as a press on the portal: an acceptance starts the work on the mention, which you pay once it is live. Decide from a script only on rules you trust, and from an assistant only after a person confirmed it.

When it is possible

While available_actions of Get an opportunity is not empty. The answer is the opportunity as it now stands, the same shape as that route.

Safe to retry

Sending the same decision twice in a row never decides twice: the second call answers 409 not_awaiting_decision and changes nothing; so does a decision on an opportunity already answered on the portal or on Slack, or taken back by us. Read the opportunity to see where it stands. The guard is the opportunity’s state, not the request: after a counter-offer of yours, we may come back with a new proposal, and a decision sent then applies to it. Do not replay an old decision later on; read the opportunity, then decide. A counter-offer leaves decision at null: the question is ours to answer, and a new proposal may follow.

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"

Body

application/json
decision
enum<string>
required
Available options:
accept,
counter_offer,
decline
terms
string

Required with counter_offer, ignored otherwise. Your terms in your own words, spaces trimmed at both ends, then 2,000 characters at most; they reach the HelloSearch team as written.

Maximum string length: 2000

Response

The decision is recorded; the opportunity as it now stands.

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