Here are a few conversation starters
Details on events, capacity, etc.
Check occupancy via presence.
Update where people are.
curl -X GET https://api.robinpowered.com/v1.0/spaces/:id
-H "Authorization: Access-Token TOKEN"
{
"id": 78,
"location_id": 5,
"name": "Conference Room",
"description": "Front meeting space for up to 14 people.",
"image": "https://static.robinpowered.com/images/123abc.jpg",
"discovery_radius": 3.5,
"capacity": 10,
"last_presence_at": "2014-10-16T13:33:21+0000",
"is_disabled": false,
"is_dibsed": false,
"updated_at": "2014-08-22T14:37:02+0000",
"created_at": "2014-08-21T14:50:12+0000",
"current_event": {
"id": 1264,
"title": "Lunch & Learn",
"user_id": 4,
"space_id": 78,
"remote_event_id": "12",
"remote_type": "google",
"auto_created": false,
"started_at": "2014-10-10T16:45:19+0000",
"ended_at": "2014-10-10T17:45:19+0000"
},
"next_event": {
"id": 1265,
"title": "Planning Meeting",
"user_id": 4,
"space_id": 78,
"remote_event_id": "1231313",
"remote_type": "google",
"auto_created": true,
"started_at": "2014-10-11T16:45:19+0000",
"ended_at": "2014-10-11T17:45:19+0000"
},
"location": {
"id": 5,
"account_id": 18,
"name": "Robin HQ",
"description": "The Boston office for Robin",
"address": "87 Summer St. FL 2, Boston, MA",
"image": "https://static.robinpowered.com/images/789xyz.jpg",
"updated_at": "2014-08-08T17:04:17+0000",
"created_at": "2014-07-02T19:18:23+0000"
}
}
curl -X GET https://api.robinpowered.com/v1.0/spaces/:id/presence
-H "Authorization: Access-Token TOKEN"
{
[
{
"location_id": 1,
"space_id": 1,
"user_id": 1,
"device_id": 2,
"last_seen_at": "2014-05-22T14:49:48+0000",
"arrived_at": "2014-05-22T14:49:48+0000",
"expired_at": "2014-05-22T14:50:18+0000",
"session_ttl": 30,
"session_active": true,
"user": {
"id": 1,
"name": "George Jetson",
"slug": "gjetson",
"avatar": "https://static.robinpowered.com/images/george-jet.jpg",
"created_at": "2014-05-05T16:06:58+0000",
"updated_at": "2014-05-05T16:06:58+0000",
"primary_email": {
"email": "[email protected]",
"is_verified": false
}
}
},
//..
]
}
curl -X POST https://api.robinpowered.com/v1.0/spaces/:id/presence
-H "Authorization: Access-Token TOKEN"
-H "Content-Type: application/json"
-d '{
"session_ttl": 240,
"user_ref": "gjetson"
}'
{
"location_id": 1,
"space_id": 1,
"user_id": 4,
"device_id": 2,
"last_seen_at": "2014-05-22T14:49:48+0000",
"arrived_at": "2014-05-22T14:49:48+0000",
"expired_at": "2014-05-22T14:50:18+0000",
"session_ttl": 240,
"session_active": true,
"user": {
"id": 1,
"name": "George Jetson",
"slug": "gjetson",
"avatar": "https://static.robinpowered.com/images/george-jet.jpg",
"created_at": "2014-05-05T16:06:58+0000",
"updated_at": "2014-05-05T16:06:58+0000",
"primary_email": {
"email": "[email protected]",
"is_verified": false
}
}
}
Join the thousands of company schedules powered by Robin
Start your two week free trialLearn about the rest of our integrated platform.