Coaching

Our Coaching Service API provides a comprehensive set of endpoints to create, read, update, delete, acknowledge, list, export, and manage all coaching-related entities—such as comments, plans, sessions, scorecards, and targets—covering everything from scorecard backfills to retrieving evaluation periods and agent quotas.

Languages
Servers
https://{api-domain}.cresta.com/

CoachingService

Operations

Acknowledge coaching session by the agent.

Request

Path
coachingSessionstringrequired

Resource name of the coaching session to be acknowledged. Format: customers/{customer_id}/profiles/{profile_id}/coachingSessions/{coaching_session_id}

Bodyapplication/jsonrequired
agentCommentstring

Comment from the agent for the coaching session acknoledgement.

acknowledgedboolean

If the coaching session was acknowledged.

submittedboolean

If the agent is submitting the coaching session.

curl -i -X POST \
  'https://{api-domain}.cresta.com/v1/{coachingSession}:acknowledge' \
  -H 'Content-Type: application/json' \
  -d '{
    "agentComment": "string",
    "acknowledged": true,
    "submitted": true
  }'

Responses

A successful response.

Bodyapplication/json
coachingSessionobject(A coaching session. Next ID: 16)
Response
application/json
{ "coachingSession": { "name": "string", "createTime": "2019-08-24T14:15:22Z", "updateTime": "2019-08-24T14:15:22Z", "managerUpdateTime": "2019-08-24T14:15:22Z", "agentUpdateTime": "2019-08-24T14:15:22Z", "acknowledgeTime": "2019-08-24T14:15:22Z", "agentComment": "string", "agentUserName": "string", "creatorUserName": "string", "coachingPlanName": "string", "sessionTime": "2019-08-24T14:15:22Z", "meetingNotes": "string", "managerSubmitTime": "2019-08-24T14:15:22Z", "agentSubmitTime": "2019-08-24T14:15:22Z", "usecaseName": "string", "managerSubmitterUserName": "string" } }

Retrieve an individual coaching comment

Request

Path
namestringrequired

Resource name of the coaching comment to retrieve. Format: customers/{customer_id}/profiles/{profile_id}/coachingComments/{comment_id}

curl -i -X GET \
  'https://{api-domain}.cresta.com/v1/{name=customers/*/profiles/*/coachingComments/*}'

Responses

A successful response.

Bodyapplication/json
coachingCommentobject(A coaching comment Next ID: 11)
Response
application/json
{ "coachingComment": { "name": "string", "thread": "string", "creatorUserName": "string", "coachingPlanName": "string", "usecaseName": "string", "createTime": "2019-08-24T14:15:22Z", "updateTime": "2019-08-24T14:15:22Z", "message": "string", "taggedUsers": [], "linkedSessionNotes": [] } }

Retrieve an individual coaching plan.

Request

Path
namestringrequired

Resource name for the coaching plan to get. Format: customers/{customer_id}/profiles/{profile_id}/coachingPlans/{coaching_plan_id}

curl -i -X GET \
  'https://{api-domain}.cresta.com/v1/{name=customers/*/profiles/*/coachingPlans/*}'

Responses

A successful response.

Bodyapplication/json
coachingPlanobject(A coaching plan Next ID: 16)
Response
application/json
{ "coachingPlan": { "name": "string", "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "focusBehaviors": [], "focusCriteria": [], "comment": "string", "managerCommentSubmitTime": "2019-08-24T14:15:22Z", "agentUserName": "string", "creatorUserName": "string", "isActive": true, "createTime": "2019-08-24T14:15:22Z", "updateTime": "2019-08-24T14:15:22Z", "displayName": "string", "usecaseName": "string", "coachingSessions": [] } }