apidata.one docs Get a key

POST /v1/sandbox/triggers

Make a change happen in the sandbox now: a match, a favorite that changes, a removal.

Access
Keys secret only
Plan every plan
Environment sandbox only
Acts for one consumer
While the account is suspended refused
During a data stop works

Headers

Name Description
X-Client-Token With a publishable key: required. A token your server minted for the consumer with POST /v1/client-tokens.
X-Client-Id With a secret key: required. Your own opaque ID for the consumer.

Body

Field Type Description
event saved_search.matches, favorite.listing_updated, listing.removed
savedSearchId string (optional) With saved_search.matches: one of this consumer's saved searches.
listingKey string (optional) With favorite.listing_updated: one of this consumer's favorites. With listing.removed: a listing a trigger of your account made.
kind price, status, photos, open_house (optional) With favorite.listing_updated: which change to make.
{
  "event": "saved_search.matches",
  "savedSearchId": "ss_Hq2Lw9Xc4Vb7Nm1Kp6Tz3R"
}

Answers

202: Accepted: the change is made within seconds

The answer is { data, meta }; meta holds requestId and environment.

data is a SandboxTriggerAccepted.

Errors

Every error has the same body, and says how to fix it (responses and errors).

More

Send your sk_test_ key and X-Client-Id, with one of three bodies:

event Also send What happens
saved_search.matches savedSearchId: one of this consumer's saved searches A new made-up listing appears that matches the search.
favorite.listing_updated listingKey: one of this consumer's favorites; kind: price, status, photos or open_house That change is made to that listing.
listing.removed listingKey: a listing that a trigger of your account made The listing is removed, as a listing that leaves the market on live is.

The answer is 202:

{
  "data": {
    "id": "trg_…",
    "event": "saved_search.matches",
    "listingKey": "SBXT…",
    "change": { "kind": "new_listing", "status": "active" },
    "notice": "instant",
    "status": "pending"
  }
}

This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.

This page as Markdown