Get coaching sessions.

This endpoint will return coaching sessions for your organization based on the time parameters passed in. Results are paginated by sessions. If you include an endTime, the endpoint will return data up until that point. If you don’t include an endTime, you can continue to poll the API real-time with the pagination cursor that gets returned on every call.

Rate limit: 5 requests/sec (learn more about rate limits here).

To use this endpoint, select Read Coaching under the Coaching category when creating or editing an API token. Learn More.

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.

Log in to see full request history
Query Params
driverIds
array of strings

Optional string of comma separated driver IDs. If driver ID is present, sessions for the specified driver(s) will be returned.

driverIds
coachIds
array of strings

Optional string of comma separated user IDs. If coach ID is present, sessions for the specified coach(s) will be returned for either assignedCoach or completedCoach. If both driverId(s) and coachId(s) are present, sessions with specified driver(s) and coach(es) will be returned.

coachIds
sessionStatuses
array of strings

Optional string of comma separated statuses. Valid values: “upcoming”, “completed”, “deleted”.

sessionStatuses
boolean

Optional boolean to control whether behaviors will include coachableEvents in the response. Defaults to false.

date-time
required

Required RFC 3339 timestamp that indicates when to begin receiving data. Value is compared against updatedAtTime

date-time

Optional RFC 3339 timestamp. If not provided then the endpoint behaves as an unending feed of changes. If endTime is set the same as startTime, the most recent data point before that time will be returned per asset. Value is compared against updatedAtTime

string

If specified, this should be the endCursor value from the previous page of results. When present, this request will return the next page of results that occur immediately after the previous page of results.

boolean

Optional boolean indicating whether to return external IDs on supported entities

Responses

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json