Skip to main content
POST
/
api
/
v1
/
schedules
Create a new schedule
curl --request POST \
  --url https://{subdomain}.mindhunters.ai/api/v1/schedules \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Dr. Smith Schedule",
  "availability_type_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "appointment",
  "color": "#3B82F6",
  "ai_agents": [
    "<string>"
  ],
  "human_agents": [
    "<string>"
  ],
  "custom_questions": [
    {}
  ]
}
'

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Body

application/json
name
string
required
Example:

"Dr. Smith Schedule"

availability_type_uuid
string<uuid>
required
type
string
Example:

"appointment"

color
string
Example:

"#3B82F6"

ai_agents
string[]
human_agents
string[]
custom_questions
object[]

Response

201

Schedule created successfully