Skip to main content

BookingLinksResponse

Response schema for a list of booking links

data object[]required
  • Array [
  • client object

    The pre-selected client for the link, if any.

    anyOf
    created_atdate-timerequired

    Time at which the object was created.

    emailemailnullable

    The client's email address. This field will be null unless include_sensitive is true.

    fields objectnullable

    Custom field values for this client as a map of field key to value. Sensitive field values will be null unless include_sensitive is true.

    property name*anynullable

    Custom field values for this client as a map of field key to value. Sensitive field values will be null unless include_sensitive is true.

    first_namestringnullable

    The client's first name. This field will be null unless include_sensitive is true.

    idstringrequired

    Unique identifier for the object.

    Possible values: Value must match regular expression ^clnt_\w{12}$

    last_namestringnullable

    The client's last name. This field will be null unless include_sensitive is true.

    localestringrequired

    The locale of the client.

    Example: en-US
    metadata object

    Set of key-value pairs attached to this client. Maximum size is 16 KB.

    property name*any

    Set of key-value pairs attached to this client. Maximum size is 16 KB.

    objectstringrequired

    String representing the object's type.

    Possible values: [client]

    phonestringnullable

    The client's phone number (E.164 format). This field will be null unless include_sensitive is true.

    reference_idstringnullablerequired

    External reference identifier for the client.

    time_zonestringrequired

    The client's time zone (IANA format).

    Example: America/Chicago
    updated_atdate-timerequired

    Time at which the object was last updated.

    created_atdatetimerequired
    expires_atdatetimenullable

    When the link stops accepting new bookings. null means it never expires.

    idstringrequired

    Possible values: Value must match regular expression ^bl_\w{24}$

    locked_fieldsstring[]required

    Fields that the public booker may not change on begotten booking intents.

    Possible values: [service_id, provider_id, slot, client_data, submissions]

    max_usesintegernullablerequired

    How many confirmed bookings the link may beget. null means unlimited.

    Possible values: >= 1

    metadata objectrequired
    property name*any
    namestringnullable

    An optional label for the link.

    objectstringrequired

    Possible values: [booking_link]

    providers object[]required

    The provider subset the link is restricted to. An empty array means the full service rotation applies.

  • Array [
  • created_atdate-timerequired

    Time at which the object was created.

    display_namestringrequired

    The provider's display name.

    emailstringrequired

    The provider's email address.

    first_namestringrequired

    The provider's first name.

    idstringrequired

    Unique identifier for the object.

    Possible values: Value must match regular expression ^prov_\w{12}$

    last_namestringrequired

    The provider's last name.

    metadata object

    Set of key-value pairs attached to this provider. Maximum size is 16 KB.

    property name*any

    Set of key-value pairs attached to this provider. Maximum size is 16 KB.

    objectstringrequired

    String representing the object's type.

    Possible values: [provider]

    time_zonestringrequired

    The provider's preferred IANA time zone, used as the default when authoring schedules.

    updated_atdate-timerequired

    Time at which the object was last updated.

  • ]
  • service_idstringrequired

    The ID of the service the link belongs to.

    Possible values: Value must match regular expression ^srv_\w{12}$

    statusstringrequired

    The current state of the link. paused when deactivated, expired once past expires_at, used_up once max_uses is reached, otherwise active.

    Possible values: [active, paused, expired, used_up]

    updated_atdatetimerequired
    urlurirequired

    The fully-qualified URL at which the link can be booked. Resolves to the account's active custom domain when configured, otherwise the canonical app host.

    uses_countintegerrequired

    The number of confirmed bookings begotten through this link.

    uses_remainingintegernullablerequired

    The number of confirmed bookings still available. null when unlimited.

  • ]
  • meta objectrequired

    Metadata for paginated responses

    current_pageintegerrequired

    Current page number

    page_sizeintegerrequired

    Number of records per page

    total_countintegerrequired

    Total number of records

    total_pagesintegerrequired

    Total number of pages

    BookingLinksResponse
    {
    "data": [
    {
    "client": null,
    "created_at": "2017-09-12T12:34:55Z",
    "expires_at": "2017-10-01T00:00:00Z",
    "id": "bl_d025a96ac0c6d025a96ac0c6",
    "locked_fields": [
    "provider_id"
    ],
    "max_uses": 5,
    "metadata": {
    "campaign": "spring"
    },
    "name": "VIP onboarding",
    "object": "booking_link",
    "providers": [
    {
    "created_at": "2017-09-12T12:34:55Z",
    "display_name": "John Smith",
    "email": "john@example.com",
    "first_name": "John",
    "id": "prov_d025a96ac0c6",
    "last_name": "Smith",
    "metadata": {
    "external_id": "123"
    },
    "object": "provider",
    "time_zone": "America/New_York",
    "updated_at": "2017-09-13T10:11:12Z"
    }
    ],
    "service_id": "srv_d025a96ac0c6",
    "status": "active",
    "updated_at": "2017-09-13T10:11:12Z",
    "url": "https://example.savvycal.com/c/book/bl_d025a96ac0c6d025a96ac0c6",
    "uses_count": 1,
    "uses_remaining": 4
    }
    ],
    "meta": {
    "current_page": 1,
    "page_size": 10,
    "total_count": 50,
    "total_pages": 5
    }
    }