Bids
Create a Bid
Place a bid for a customer on a lead type and location.
POST
Creating a bid works just like adding one for the customer in Juiced. Juiced sets the bid’s statuses, tells other bidders when they’re outbid, and shows your API key’s label on the customer’s activity timeline. It needs the
Check
bids:write ability.
Lead type
Send the lead type’s ID aslead_type. List Lead Types gives you the IDs and the scopes each one is open at. Bidding must be turned on for the lead type at the location’s scope, or the bid is refused with a message naming the scopes that are open.
Location and scope
location is {country, state, county_fips}, and how deep it goes sets the bid’s scope.
countryis a two-letter code and must be one of your operating countries.stateis the state, province or region abbreviation, and must be in that country.county_fipsis the county’s 5-digit FIPS code. County bids are US only.stateis optional with a county, but when you send it, it must be the county’s state.
location.country, location.state or location.county_fips.
Amount and minimum
amount is in dollars, with at most 2 decimal places. It can be below the lead type’s minimum, as it can when you bid for a customer in Juiced. The bid comes back with minimum and below_minimum so you can spot it.
Caps and budgets
Lead caps and budgets are only accepted when that limit is turned on under Configure → Bidding (see Budgets and caps). Any limit that’s turned off is ignored. Budgets are in dollars. Send"paused": true to create the bid paused.
Retries and duplicates
Bid writes don’t take anIdempotency-Key. A customer can only have one active bid per lead type and location, so if a create is sent twice, the second one returns 422 with validation_failed, and error.bid holds the ID of the bid that already exists. Change that bid with Update a Bid instead.
Creates for the same customer, lead type and location run one at a time, so a retry sent while the first create is still running waits for it and then gets the 422 above. If it waits more than 10 seconds, it returns 429 with rate_limited and a Retry-After header. Send it again after that many seconds.
can_receive_leads and blocked_by on the new bid to see whether it can win leads yet. See Get a Bid.Authorizations
An API key from Configure → API Keys (it starts with jz_live_), sent as a bearer token. See API Keys.
Body
application/json

