Robots
Create a robot
This endpoint creates a new robot.
curl --request POST https://api.airbotics.io/robots \
--header 'content-type: application/json' \
--header 'air-api-key: <token>' \
--data '{
"id": "robot1",
"name": "Test robot"
}'
{
"robot_id": "robot0",
"tenant_uuid": "3dee1736-4d8c-48d2-abe2-664b33de9acc",
"token": "art_5362c58c6088f022ab245595f6b74fa6"
}
Body parameters
id
string
requiredA user-provided ID for the robot. This must be unique within your tenant. It must be greater than 3 character and less than 30, must start with a lowercase or uppercase letter and after that can contain lowercase letters, uppercase letters, numbers, hyphens or underscores with no spaces nor special characters.
name
string
An optional display name for the robot.
curl --request POST https://api.airbotics.io/robots \
--header 'content-type: application/json' \
--header 'air-api-key: <token>' \
--data '{
"id": "robot1",
"name": "Test robot"
}'
{
"robot_id": "robot0",
"tenant_uuid": "3dee1736-4d8c-48d2-abe2-664b33de9acc",
"token": "art_5362c58c6088f022ab245595f6b74fa6"
}