curl --request POST \
--url https://api.helloannie.com/v1/organizations \
--header 'Content-Type: application/json' \
--data '
{
"name": "Downtown Dental Clinic",
"externalId": "location_001",
"phone": "+1-555-123-4567",
"timezone": "America/New_York",
"address": {
"addressLine1": "123 Main Street",
"city": "Springfield",
"state": "IL",
"country": "US",
"zip": "62701",
"addressLine2": "Suite 200",
"directions": "Enter through the back entrance"
},
"officeHours": [
{
"dayOfWeek": "MONDAY",
"open": "09:00",
"close": "17:00",
"notes": "Lunch break 12:00-13:00"
}
],
"staff": [
{
"name": "Dr. Jane Smith",
"role": "DOCTOR",
"bio": "Dr. Smith has over 15 years of experience in general dentistry",
"isActive": true
}
]
}
'{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Downtown Dental Clinic",
"externalId": "location_001",
"phone": "+1-555-123-4567",
"timezone": "America/New_York",
"address": {
"addressLine1": "123 Main Street",
"addressLine2": "Suite 200",
"city": "Springfield",
"state": "IL",
"country": "US",
"zip": "62701",
"directions": "Enter through the back entrance"
},
"officeHours": [
{
"dayOfWeek": "MONDAY",
"open": "09:00",
"close": "17:00",
"notes": "Lunch break 12:00-13:00"
}
],
"staff": [
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Dr. Jane Smith",
"role": "DOCTOR",
"bio": "Dr. Smith has over 15 years of experience in general dentistry",
"isActive": true
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}curl --request POST \
--url https://api.helloannie.com/v1/organizations \
--header 'Content-Type: application/json' \
--data '
{
"name": "Downtown Dental Clinic",
"externalId": "location_001",
"phone": "+1-555-123-4567",
"timezone": "America/New_York",
"address": {
"addressLine1": "123 Main Street",
"city": "Springfield",
"state": "IL",
"country": "US",
"zip": "62701",
"addressLine2": "Suite 200",
"directions": "Enter through the back entrance"
},
"officeHours": [
{
"dayOfWeek": "MONDAY",
"open": "09:00",
"close": "17:00",
"notes": "Lunch break 12:00-13:00"
}
],
"staff": [
{
"name": "Dr. Jane Smith",
"role": "DOCTOR",
"bio": "Dr. Smith has over 15 years of experience in general dentistry",
"isActive": true
}
]
}
'{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Downtown Dental Clinic",
"externalId": "location_001",
"phone": "+1-555-123-4567",
"timezone": "America/New_York",
"address": {
"addressLine1": "123 Main Street",
"addressLine2": "Suite 200",
"city": "Springfield",
"state": "IL",
"country": "US",
"zip": "62701",
"directions": "Enter through the back entrance"
},
"officeHours": [
{
"dayOfWeek": "MONDAY",
"open": "09:00",
"close": "17:00",
"notes": "Lunch break 12:00-13:00"
}
],
"staff": [
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"name": "Dr. Jane Smith",
"role": "DOCTOR",
"bio": "Dr. Smith has over 15 years of experience in general dentistry",
"isActive": true
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Display name of the office/location
1 - 255"Downtown Dental Clinic"
Optional external identifier for PMS integration
255"location_001"
Primary office phone number
50"+1-555-123-4567"
Location timezone for appointment scheduling
100"America/New_York"
Show child attributes
Primary street address
255"123 Main Street"
City name
100"Springfield"
State/province
100"IL"
Country
100"US"
Postal/ZIP code
20"62701"
Optional secondary address line (suite, unit, etc.)
255"Suite 200"
Optional special directions or notes
500"Enter through the back entrance"
Office hours for each day of the week
Show child attributes
Day of the week
MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY "MONDAY"
Opening time in HH:MM format (null if closed)
"09:00"
Closing time in HH:MM format (null if closed)
"17:00"
Optional notes for this day
500"Lunch break 12:00-13:00"
Staff/team members at this location
Show child attributes
Staff member name
1 - 255"Dr. Jane Smith"
Staff member role
DOCTOR, HYGIENIST, RECEPTIONIST, ASSISTANT, MANAGER, OTHER "DOCTOR"
Optional biography or description
2000"Dr. Smith has over 15 years of experience in general dentistry"
Whether the staff member is currently active
true
Created
Show child attributes
Unique identifier for the organization
"550e8400-e29b-41d4-a716-446655440000"
Display name of the office/location
"Downtown Dental Clinic"
Optional external identifier for PMS integration
"location_001"
Primary office phone number
"+1-555-123-4567"
Location timezone for appointment scheduling
"America/New_York"
Show child attributes
Primary street address
"123 Main Street"
Optional secondary address line (suite, unit, etc.)
"Suite 200"
City name
"Springfield"
State/province
"IL"
Country
"US"
Postal/ZIP code
"62701"
Optional special directions or notes
"Enter through the back entrance"
Office hours for each day of the week
Show child attributes
Day of the week
MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY "MONDAY"
Opening time in HH:MM format (null if closed)
"09:00"
Closing time in HH:MM format (null if closed)
"17:00"
Optional notes for this day
"Lunch break 12:00-13:00"
Staff/team members at this location
Show child attributes
Unique identifier for the staff member
"550e8400-e29b-41d4-a716-446655440001"
Staff member name
"Dr. Jane Smith"
Staff member role
DOCTOR, HYGIENIST, RECEPTIONIST, ASSISTANT, MANAGER, OTHER "DOCTOR"
Optional biography or description
"Dr. Smith has over 15 years of experience in general dentistry"
Whether the staff member is currently active
true
Timestamp when the organization was created
Timestamp when the organization was last updated