Read your account
Where your account stands, before you send anything: whether it can send, what is waiting to be signed, and what is left of your allowance. status is ACTIVE, PAUSED or SUSPENDED. When it's paused or suspended, stoppedSentence says so, and reads still work. agreementOwed and attestationOwed say whether a changed vendor agreement or feed attestation is waiting to be signed on the website. Nothing can be sent until it is. allowance is your upload allowance: rows a day, rows over 31 days, and how many you can send now. It counts only what you send. ipListSet says whether your IP list is on. The list itself is only on the website. key is the key making this call: its name, the first characters it starts with, and its scopes. Needs the leads:read scope.
AuthorizationBearer <sk_live_...>Your API key in an Authorization header: Authorization: Bearer sk_live_....
Where your account stands.
application/json- response
status*stringstoppedSentence*string|nullagreementOwed*booleanattestationOwed*booleanallowance*ipListSet*booleankey*curl -X GET 'https://www.inyoke.com/api/vendor/v1/me'{ "status": "ACTIVE", "stoppedSentence": null, "agreementOwed": false, "attestationOwed": false, "allowance": { "dailyRowCap": 500, "monthlyRowCap": 5000, "rowsLeft": 380 }, "ipListSet": true, "key": { "name": "Nightly feed", "prefix": "sk_live_9f3a2b", "scopes": [ "leads:read", "leads:write" ] }}Vendor API
Every vendor API call, with its parameters, its answers and a panel to try it.
List your ads GET
Your ads, as their page shows them, so your software can find the ad id the other calls take. Each ad is exactly what its page reads, retired ones included. `retiredAt` is set on an ad that is retired, and a retired ad can't take leads. `standing` is the sentence the ad's page shows. It never says whether anything is on sale. This call only reads. No call of this API changes an ad: only the website does. Needs the leads:read scope.