Skip to main content
POST
/
v2
/
guidances
Create Guidance
curl --request POST \
  --url https://public.api.serval.com/v2/guidances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "teamId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "content": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "teamId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "content": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
teamId
string

The ID of the team.

name
string

The name of the guidance.

description
string

A description of the guidance.

content
string | null

The content of the guidance (optional).

Response

Success

data
object

The created guidance.

I