{"_id":"5866ac1da2cbb31900f6f190","__v":1,"category":{"_id":"5526e9877d4a4417009516bb","pages":["5526e9e07d4a4417009516bd","55294fa4ceedaa0d00bc5c93"],"project":"5435693035740020002a1c1c","version":"5435693035740020002a1c1f","__v":2,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-04-09T21:05:11.766Z","from_sync":false,"order":5,"slug":"users","title":"Users"},"parentDoc":null,"project":"5435693035740020002a1c1c","version":{"_id":"5435693035740020002a1c1f","__v":14,"project":"5435693035740020002a1c1c","createdAt":"2014-10-08T16:41:20.702Z","releaseDate":"2014-10-08T16:41:20.702Z","categories":["5435693035740020002a1c20","551c03c1ff892b3700d1c57a","551ca3927405910d00900a59","551cac6448564a2f0024d89e","551cb4d848564a2f0024d8a3","551cb52db7a32b3b00d1ef78","5526e2064a7ac121004c6073","5526e5147d4a4417009516b3","5526e9877d4a4417009516bb","5528362cd9e1db2d00cd924d","5580240ebe698419008f2ba2","5580a7dabe698419008f2db6","568161799de23c0d00c54750","5866c905a2cbb31900f6f1aa"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"user":"543568c135740020002a1c10","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-12-30T18:49:01.250Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"http","code":"GET /v1.0/users/42/events HTTP/1.1\nHost: api.robinpowered.com\nContent-Type: application/json\nAuthorization: Access-Token :accessToken\n"}]},"method":"get","results":{"codes":[{"name":"","code":"{\n  \"meta\": {\n    \"status_code\": 200,\n    \"status\": \"OK\",\n    \"message\": \"\",\n    \"more_info\": {}\n  },\n  \"data\": [\n    {\n      \"id\": \"23481822_20161221T100000Z\",\n      \"organizer_id\": 42,\n      \"organizer_email\": \"brian:::at:::robinpowered.com\",\n      \"creator_id\": 42,\n      \"creator_email\": \"brian@robinpowered.com\",\n      \"space_id\": 50,\n      \"title\": \"Team meeting\",\n      \"description\": \"All hands meeting\",\n      \"location\": \"Whiskey Room\",\n      \"remote_event_id\": \"v9p3n8jl42fwerbasqcebs_20161221T100000Z\",\n      \"remote_type\": \"google\",\n      \"creation_type\": \"synced\",\n      \"uid\": \"v9p3n8jlv8jmmh2k6ubasqcebs@google.com\",\n      \"start\": {\n        \"date_time\": \"2016-12-21T16:00:00Z\",\n        \"time_zone\": \"America\\New_York\"\n      },\n      \"end\": {\n        \"date_time\": \"2016-12-21T16:30:00Z\",\n        \"time_zone\": \"America\\New_York\"\n      },\n      \"series_id\": \"23481822\",\n      \"recurrence_id\": \"20161221T100000Z\",\n      \"status\": \"confirmed\",\n      \"recurrence\": null,\n      \"is_all_day\": false,\n      \"visibility\": \"default\",\n      \"invitees\": [\n        {\n          \"id\": 108209220,\n          \"event_id\": \"23481822_20161221T100000Z\",\n          \"user_id\": 42,\n          \"email\": \"brian@robinpowered.com\",\n          \"display_name\": \"Brian Muse\",\n          \"response_status\": \"accepted\",\n          \"is_organizer\": true,\n          \"is_resource\": false,\n          \"updated_at\": \"2016-12-20T16:28:08+0000\",\n          \"created_at\": \"2016-12-20T16:28:08+0000\"\n        }\n      ],\n      \"confirmation\": null\n    }\n  ],\n  \"paging\": {\n    \"page\": 1,\n    \"per_page\": 10\n  }\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"5526eb167d4a4417009516c0","ref":"","in":"path","required":true,"desc":"The ID or slug of the user","default":"","type":"mixed","name":"id"},{"_id":"5866adaaa2cbb31900f6f196","ref":"","in":"query","required":false,"desc":"Lower bound for an event's `end` property","default":"","type":"string","name":"after"},{"_id":"5866adaaa2cbb31900f6f195","ref":"","in":"query","required":false,"desc":"Upper bound for an event's `start` property","default":"","type":"string","name":"before"},{"_id":"5866adaaa2cbb31900f6f194","ref":"","in":"query","required":false,"desc":"The page to fetch","default":"1","type":"int","name":"page"},{"_id":"5866adaaa2cbb31900f6f193","ref":"","in":"query","required":false,"desc":"The amount of results to return on a single page.","default":"10","type":"int","name":"per_page"}],"url":"/users/:id/events"},"isReference":true,"order":2,"body":"Keep in mind that this endpoint requires tokens w/ access to the user. Organization tokens do not have permission to access their user's events, since a user may belong to multiple organizations.","excerpt":"Get a user's events","slug":"get-user-events","type":"endpoint","title":"/users/:id/events"}

get/users/:id/events

Get a user's events

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
mixed
The ID or slug of the user

Query Params

after:
string
Lower bound for an event's `end` property
before:
string
Upper bound for an event's `start` property
page:
integer1
The page to fetch
per_page:
integer10
The amount of results to return on a single page.

Examples


Result Format


Documentation

Keep in mind that this endpoint requires tokens w/ access to the user. Organization tokens do not have permission to access their user's events, since a user may belong to multiple organizations.

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}