Get a token
Send the Client ID and the API key in the body. This call needs no other credential. Your API key is not the key you used to send inx-api-key. Both were renamed. The old names maps each to the new one.
data:
Call the API
Send the token in theAuthorization header of every other call.
expires_in. Your API key only ever goes to the token call.
If you send password and x-api-key
Your integration keeps working. Nothing has to change.
passwordis the older name forapi_key, and it is still accepted. Send one or the other.- The
x-api-keyheader carries your legacy key. It is optional. If you send it, send your own. Another account’s legacy key is refused. - A value in
x-api-keythat is not a legacy key is ignored. The token is what authenticates the call.
When it fails
Getting a token:
Calling the API:
Read the status code and
code rather than the message.
Your first call
Create something and read it back.