InyokeDocs
Vendor APIAccount

Read your account

GET
/me

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.

Authorization

headerAuthorizationBearer <sk_live_...>

Your API key in an Authorization header: Authorization: Bearer sk_live_....

Response Body

Where your account stands.

application/json
  1. response
status*string
stoppedSentence*string|null
agreementOwed*boolean
attestationOwed*boolean
allowance*
ipListSet*boolean
key*
Example Request
curl -X GET 'https://www.inyoke.com/api/vendor/v1/me'
Example Response
{  "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"    ]  }}