Using the k-ID API
- All requests must include the Accept header, which must be set to application/json.
- All POST methods require the Content-Type header to be set to application/json.
k-ID APIs can return the following response codes.
Code | Meaning |
---|---|
200 | success |
304 | not modified - returned from /session/get when the session has not changed |
400 | invalid parameter, error code in the error field, and human readable error message in the errorMsg field |
401 | invalid access token or API key |
429 | retry the API call, the amount of time to wait is in the Retry-After header |