POST
/
coachings
/
appointments
curl --request POST \
  --url https://schoolmaker.co/api/v1/coachings/appointments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type_id": "<string>",
  "date": "<string>",
  "duration_hours": 123,
  "duration_minutes": 123,
  "name": "<string>",
  "description": "<string>",
  "is_published": true,
  "member_emails": [
    "<string>"
  ],
  "user_emails": [
    "<string>"
  ]
}'
{
  "appointment_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
type_id
string
required
date
string
required
duration_hours
integer
required
duration_minutes
integer
required
name
string
required
description
string
required
is_published
boolean
required
member_emails
string[]
required
user_emails
string[]
required

Response

201 - application/json
Appointment created
appointment_id
string

The ID of the created appointment