To start an API session, you must obtain a unique access token. Your token is crucial for authenticating your API requests and ensuring that only authorised users can interact with the system.
β
API Endpoint
POST http://kuda-openapi-uat.kudabank.com/v2.1/Account/GetToken
Request Parameters
Parameter | Type | Description |
string | The user's registered Kuda Business account email. | |
apiKey | string | The Business API key generated from the Kuda Business account |
Sample Request
bash
curl \
-H 'Content-Type: application/JSON' \
-d '{
"email": "[email protected]",
"apiKey": "abcd1234keyexample" // generated key copied from the Kuda business API page
}' \
-X POST http://kuda-openapi-uat.kudabank.com/v2.1/Account/GetToken
β
Sample Response
ey.JefilwuhDFLKJHG8Y9IFLKJDSNF98879YJKFB8FKKJHHSdasfdnslfkjnIlnlKFJ&47kellCFKljfkdjbndksjds
Authentication Flow
Obtain API Key - First, get your API key from the business dashboard
Generate Access Token - Use this endpoint with your email and API key
Use Bearer Token - Include the access token in all API requests
β
Common Issues
Request Errors
Invalid email - Ensure you're using your registered business account email
Invalid API key - Verify your API key is correct and active
Content-Type - Make sure to include the JSON content type header
β
Response Issues
Empty response - Check your credentials and try again
Token format - The response is a plain text token, not JSON