Create Slot

POST {{baseUrl}}/api/v2/Slot

Overview:

Creates a new Slot by submitting required scheduling details and availability status.

This is only supported in ATHENA.

Use Cases:

  • Publish New Openings: Post updated slots after schedule changes

  • Redistribute Capacity: Open new timeslots to expand access

  • Block Inadequate Time: Post restrictions on slot duration

  • Configure Telehealth: Add virtual visit slots

  • Set Up Appointment Types: Post configured slot categories

Request Body

{"context"=>{"departmentId"=>"<string>"}, "data"=>{"start"=>"<dateTime>", "minutesDuration"=>"<integer>", "appointmentType"=>{"coding"=>[{"code"=>"<string>"}, {"code"=>"<string>"}]}, "extension"=>[{"url"=>"<string>", "valueInteger"=>"<integer>"}, {"url"=>"<string>", "valueInteger"=>"<integer>"}]}}

HEADERS

KeyDatatypeRequiredDescription
x-source-idstring(Required) Source ID
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{&quot;context&quot;:{&quot;requestId&quot;:&quot;\u003cstring\u003e&quot;,&quot;source&quot;:&quot;\u003cstring\u003e&quot;,&quot;quorum&quot;:&quot;\u003cboolean\u003e&quot;,&quot;notify&quot;:&quot;\u003cboolean\u003e&quot;},&quot;data&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;}}