Skip to content

Commit 0223027

Browse files
authored
chore: update docs to clarify api v2 supports sms workdlows (calcom#24704)
* chore: update docs to clarify api v2 supports sms workdlows * chore: implement feedback * fix: cleanup
1 parent d7df154 commit 0223027

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/api/v2/src/ee/bookings/2024-08-13/controllers/bookings.controller.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ export class BookingsController_2024_08_13 {
134134
If you are creating a seated booking for an event type with 'show attendees' disabled, then to retrieve attendees in the response either set 'show attendees' to true on event type level or
135135
you have to provide an authentication method of event type owner, host, team admin or owner or org admin or owner.
136136
137+
For event types that have SMS reminders workflow, you need to pass the attendee's phone number in the request body via \`attendee.phoneNumber\` (e.g., "+19876543210" in international format). This is an optional field, but becomes required when SMS reminders are enabled for the event type. For the complete attendee object structure, see the [attendee object](https://cal.com/docs/api-reference/v2/bookings/create-a-booking#body-attendee) documentation.
138+
137139
<Note>Please make sure to pass in the cal-api-version header value as mentioned in the Headers section. Not passing the correct value will default to an older version of this endpoint.</Note>
138140
`,
139141
})

0 commit comments

Comments
 (0)