Authorization header. There are no sessions, cookies, or OAuth flows — just a static token you copy from your dashboard or exchange for through POST /auth.
Get your API token
You have two options.Option 1: From the dashboard
Log in to your dashboard
Go to app.sling.com.ng and sign in.
Open the API token page
Navigate to Account → API.
Option 2: Exchange email and password through POST /auth
cURL
api_token and use it as a bearer credential for the rest of the API. See POST /auth for the full reference.
Add the token to a request
Pass your token as a bearer credential in theAuthorization header alongside Accept: application/json.
Authentication errors
| Situation | Result |
|---|---|
POST /auth with wrong email or password | 400 Bad Request — "message": "Incorrect E-Mail or Password" |
Missing or invalid Authorization header | 401 Unauthorized — request rejected |
| Token is valid but account has no credit | 400 Bad Request — "details": "Insufficient credit" |
Bearer prefix (note the space between Bearer and the token value).