Add the necessary headers
API headers are an important part of the API request since they store extra information for each API call you make. Typically, you will use the following headers in your Kisi API requests:
Authorization
- to store yourlogin
Content-Type
- to indicate the type of content submitted in the request bodyAccept
- to indicate the type of content that will be accepted in the response
note
- In the
Authorization
header, make sure to always addKISI-LOGIN
before your API key. - The Kisi API supports JSON only. This means, you need to set
Accept
andContent-Type
toapplication/json
.
Example
curl --request POST \
--header 'Authorization: KISI-LOGIN <API_KEY>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Integration partner headers
Integration partners are required to include these additional headers in their requests to the Kisi API:
X-Kisi-Integration-Identifier: <name of the integration partner>
X-Kisi-Integration-Contact: <email of the integration partner>
On to the next step
You're almost there! In the next step you just need to put everything together to make your first API call.