Skip to main content

Endpoint

POST https://app.sling.com.ng/api/v2/auth
This is the only public v2 endpoint. Use it to exchange your dashboard credentials for an api_token you can attach as a Bearer credential to every other v2 request.

Headers

HeaderValue
Acceptapplication/json
Content-Typeapplication/json

Body parameters

email
string
required
Account email address.
password
string
required
Account password.

Response fields

api_token
string
Bearer token to use in subsequent requests.

Example response

{
  "api_token": "1|abcd1234..."
}

Error responses

StatusMeaning
400Missing email or password
400"message": "Incorrect E-Mail or Password"