Get client information
You can get your client information
At any time you can check the project (client) info that is associated with a cid. This contains basic information like the name of the project
curl --request GET \
--url https://api.behavioralsignals.com/clients/cid \
--header 'accept: application/json' \
--header 'x-auth-token: your_token'
import requests
url = "https://api.behavioralsignals.com/clients/cid"
headers = {
'accept': "application/json",
'x-auth-token': "your_token"
}
response = requests.request("GET", url, headers=headers)
print(response.text)
var data = null;
var xhr = new XMLHttpRequest();
xhr.addEventListener("readystatechange", function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://api.behavioralsignals.com/clients/cid");
xhr.setRequestHeader("accept", "application/json");
xhr.send(data);
Example response:
{
"cid": "1234567890",
"name": "my-awesome-project"
}
Updated 5 months ago
What’s Next