Authentication
Get your API keys
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
You can generate an API key from your Dashboard at any time.
Make the Authentication request
Send an authentication request to the login endpoint. This will create a token, id and expiry
which will form the headers of any request for the time until the expiry time passed.
Take a look at how you might call this method using Http
:
POST http://settle.africa/login HTTP/1.1
Content-Type: application/json
{
"id":"1234567890",
"password":"jumairah"
}
Subsequent requests to the API will contain the Authenticated headers as follows:
id: 5563678883
token: tegdghh66353l
expiry: 29/11/2024 12:23:23
Authenticated Requests will look like:
GET http://settle.africa/profile HTTP/1.1
id: 5563678883
token: tegdghh66353l
expiry: 29/11/2024 12:23:23
Content-Type: application/json
{
}
Last updated
Was this helpful?