Register device agent
curl --request POST \
--url https://api.trycomp.ai/v1/device-agent/register \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.trycomp.ai/v1/device-agent/register', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/device-agent/register"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Device Agent
Register device agent | Comp AI API
Register a Comp AI Device Agent installation so employee endpoint checks can report into compliance tasks and device inventory.
POST
/
v1
/
device-agent
/
register
Register device agent
curl --request POST \
--url https://api.trycomp.ai/v1/device-agent/register \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.trycomp.ai/v1/device-agent/register', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/device-agent/register"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Body
application/json
The body is of type object.
Response
201
Was this page helpful?

