Bids and budgets
Change a bid, lead rate, budget or hours, or pause and resume
Needs the bids:write scope. About scopes
A change inside what the account lets you change applies at once (applied); anything else waits for the account (pendingApproval). A bid above the campaign ceiling always waits. Send ifVersion to refuse a change based on an older value (409).
keyheader
AuthorizationBearer <traki_buyer_…>application/json- body
field*stringValue in
"bid""leadRate""budget""hours""pause"campaignId?stringFormat
uuidvalue?numberRange
0 <= value <= 100000000hours?hoursSummary?stringLength
length <= 200pause?stringValue in
"hour""day""clear"ifVersion?stringLength
length <= 40Success
application/json- response
result*stringValue in
"applied""pendingApproval"field*stringcampaignId*|nullvalue*string|nullversion*string|nullmessage*stringchangeRequestId*|nullcurl -X POST 'https://api.traki.io/v1/buyer/bids' \ -H "Authorization: Bearer $TRAKI_KEY" \ -H 'Content-Type: application/json' \ -H 'Idempotency-Key: a-unique-id-for-this-change' \ -d '{ "field": "bid"}'Example Response
{ "result": "applied", "field": "string", "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "value": "string", "version": "string", "message": "string", "changeRequestId": "d5a18ebf-600a-4c49-94e6-860a60628549"}Your current bids, lead rates, budget, caps and hours GET
Previous Page
The leads you bought, oldest first, as a feed GET
Page with `cursor` (the `nextCursor` of the previous page) while `hasMore` is true; then poll with the last `nextCursor` to receive new leads. Contact details, answers, prices and consent proof follow what the account shares, as in your portal.