POST
/
v1
/
teams
/
{team_id}
/
tickets
/
{ticket_id}
/
copilot
/
{copilot_thread_id}
/
approve
Approve Copilot Thread
curl --request POST \
  --url https://public.api.serval.com/v1/teams/{team_id}/tickets/{ticket_id}/copilot/{copilot_thread_id}/approve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "approverUserId": "<string>"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

team_id
string
required

The ID of the Serval team.

ticket_id
string
required

The ID of the Serval ticket.

copilot_thread_id
string
required

The ID of the Serval Copilot Thread.

Body

application/json

Response

200
application/json

Success

The response is of type object.