Your request body must be contain 2 properties.
tenant_slug This is your subdomain on selphiu URL. For example: if your selphiu domain is “acme.selpihu.com” then your tenant_slug is “acme”secret_key Secret Key of Tenant can be found in “next4biz CRM under Settings > Integration > API Account”| Name | Value |
|---|---|
| REST-API METHOD | Access Token Service |
| HTTP METHOD | POST |
| RESPONSE TYPE | JSON |
| URL | https://api.crm.next4biz.com/auth |
| REQUEST HEAD | Accept: application/json; Content-Type: application/json |
{
"secret_key": "[YOUR SECRET KEY]",
"tenant_slug": "acme"
}
{
"code": "200",
"status": "Success",
"result": {
"tenant_slug": "acme",
"access_token": "ACME%20Company%20Sample%20access%20token%20edarnibmRcNP7CJOg%3D%3D"
}
}