Make your first authenticated API request in minutes.
1
Get API access
Create or sign in to a Better Sales Pro account. API credentials are issued for authenticated staff users—never from a public page.
2
Authenticate
Call POST /admin/api/login with email and password. The response includes a token.
3
Make your first request
Call POST /admin/api/leads and include the token.
4
Handle the response
Successful calls return JSON. Invalid tokens return a session_expired payload.
Get API access
Start with Get API Access / account registration, then use staff credentials against the API login method.
Authenticate
curl --request POST \ --url https://bettersalespro.com/admin/api/login \ --data 'email=YOU@example.com' \ --data 'password=YOUR_PASSWORD'
Make your first request
curl --request POST \ --url https://bettersalespro.com/admin/api/leads \ --data 'token=YOUR_TOKEN'
Handle the response
{
"leads": [ /* lead records for the authenticated account */ ]
}
Was this page helpful?