Getting Started
The Account Management API allows Cusna partners and customers or third-party systems to programmatically manage Accounts data in Cusna dashboard. Using the Account management API eliminates the need for property staff to manually enter data in the the dashboard.
Base URL
All API requests must use the following base URL:
https://www.cusna.io/api/1.1
Authentication
To make API call you need an Access Token.
To get the Access Token make a request to the Auth endpoint
post
Get Token
Body
passwordstringOptional
emailstringOptional
Responses
200
Get Token
application/json
post
POST /api/1.1/wf/auth HTTP/1.1
Host: www.cusna.io
Content-Type: application/json
Accept: */*
Content-Length: 70
"{\n \"email\":\"emailaddress\",\n \"password\":\"password\"\n}"
200
Get Token
{
"status": "success",
"response": {
"token": "1654618732137x551553604128404800",
"user_id": "1653502412695x910867020641148200",
"expires": 31536000
}
}
Authenticate API requests by adding in the header the parameter
Authorization: Barear <token>
Organization ID
For some APIs, you need to provide your organization ID. YoOu can find the Organization ID in the Account page.

Last updated
Was this helpful?