Skip to content
Navigation

List booking professionals

List the professionals e-Oficlinic schedules for one service (LISTAR_PROFESIONALES_AGENDA) and open an availability flow for that payer, service, program and attention type; every item carries the flowId the next steps take (list_booking_rooms, list_booking_days, list_booking_slots, then create_appointment). The flow keeps, server-side, the provider's own flow identifier its booking screen generates; no slot is locked or reserved by listing. The payer must be one list_payers answers, or PAYER_NOT_FOUND. The program and attention type come from list_programs, or BOOKING_OPTION_NOT_FOUND; an attention type whose source unit count is not exactly one answers PROGRAM_UNITS_NOT_SUPPORTED, since multi-unit programs are not supported. The flow expires 30 minutes after this first list. Use a configured service id (search_services, or list_services with professionalId). An empty list means the provider schedules no professional for that service now. Pass pageInfo.nextCursor with the same filters for more. agentMode true answers concise Spanish text instead.

  • Scope: oficlinic:availability:read
  • Credentials: an API key, a client-credentials token or a person's access token
  • Effect: read-only; safe to retry
  • Limits: response up to 64 KB
  • CLI: arbol oficlinic booking-professionals list · MCP tool: oficlinic_booking_professionals_list
GET
https://api.getarbol.com/v1/oficlinic/booking-professionals

Authorization

  • Authorization
    string
    required
    Bearer <token>, where the token is an API key, a client-credentials token or a person's access token with the scope oficlinic:availability:read. Get an API key.

Query parameters

  • payerId
    string
    required

    A payer id from list_payers.

    pattern: ^[0-9A-Za-z._-]{1,32}$
  • serviceId
    string
    required

    A service id, such as one search_services answers.

    pattern: ^[0-9A-Za-z._-]{1,32}$
  • programId
    string
    required

    A program id from list_programs.

    pattern: ^[0-9A-Za-z._-]{1,32}$
  • attentionTypeId
    string
    required

    An attention type id the program lists in list_programs, with bookable true.

    pattern: ^[0-9A-Za-z._-]{1,32}$
  • connectionId
    optional
    string

    An Account connection id of the caller's organization.

    pattern: ^con_[0-9A-Za-z]{26}$
  • cursor
    optional
    string

    An opaque cursor from a previous page's pageInfo.nextCursor or pageInfo.previousCursor.

    maxLength: 192 · minLength: 4 · pattern: ^[A-Za-z0-9_-]+$
  • direction
    optional
    forward
    or
    backward

    Direction to traverse the stable keyset ordering from the supplied cursor.

    default: "forward"
  • limit
    optional
    integer

    Maximum items returned in one page. Defaults to 25; larger reads require another cursor.

    maximum: 50 · minimum: 1 · default: 25
  • agentMode
    optional
    boolean

    true answers { text }: concise Spanish facts for a messaging or voice agent, with the short ids and the cursor needed to continue. false, the default, answers the structured object.

    default: false

Returns

200

Successful operation.

JSON
  • success
    true
    required
  • data
    required

    One of the following:

    • OficlinicBookingProfessionalPage
      • data
        array of
        object
        required

        Items admitted by this resource contract within the verified organization.

        • id
          string
          required

          The provider's professional id (profesionalID).

        • name
          string
          required

          The professional's name (profesionalDescripcion).

        • specialty
          string | null
          required
        • serviceId
          string
          required

          The service the flow was opened for.

        • payerId
          string
          required

          The payer the flow was opened for.

        • programId
          string
          required

          The program the flow was opened for.

        • attentionTypeId
          string
          required

          The one-unit attention type of the program the flow was opened for.

        • flowId
          string
          required

          The availability flow this item belongs to: pass it to the next booking list and to the booking itself.

        • flowExpiresAt
          string
          required

          When the flow expires.

          format: date-time
      • object
        string
        required

        Discriminator for a resource list response.

      • pageInfo
        object
        required

        Opaque navigation cursors for this page’s stable keyset order.

        • hasNextPage
          boolean
          required

          Whether a later page exists in the current ordering.

        • hasPreviousPage
          boolean
          required

          Whether an earlier page exists in the current ordering.

        • nextCursor
          string | null
          required

          Opaque cursor for the next page, or null when there is none.

        • previousCursor
          string | null
          required

          Opaque cursor for the previous page, or null when there is none.

    • OficlinicAgentText
      • text
        string
        required

        Concise Spanish facts of the answer, with the ids and cursor to continue. Pending or unknown outcomes are stated as such.

  • error
    unknown
    required
  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

400

  • INVALID_INPUT: The request does not match the published schema.
  • INVALID_CURSOR: The cursor is invalid or belongs to another list.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    required

    One of the following:

    • InvalidInputFailure
      INVALID_INPUT
      • code
        INVALID_INPUT
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required
        • issues
          optional
          array of
          object
          • path
            string
            required

            RFC 6901 JSON Pointer to the refused field; empty for the whole input.

            maxLength: 256
          • message
            string
            required
            maxLength: 256
    • OficlinicInvalidCursorFailure
      INVALID_CURSOR
      • code
        INVALID_CURSOR
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

401

UNAUTHORIZED: A valid access token is required.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    object
    required

    A valid access token is required.

    • code
      UNAUTHORIZED
      required

      The failure code, stable across releases.

    • message
      string
      required

      What went wrong, for people; it never contains input values.

    • retryable
      false
      required

      Whether repeating the same request may succeed.

    • data
      object
      required

      No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

403

FORBIDDEN: The token does not authorize this operation.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    object
    required

    The token does not authorize this operation.

    • code
      FORBIDDEN
      required

      The failure code, stable across releases.

    • message
      string
      required

      What went wrong, for people; it never contains input values.

    • retryable
      false
      required

      Whether repeating the same request may succeed.

    • data
      object
      required

      No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

404

  • CONNECTION_NOT_FOUND: The connection does not exist in this organization.
  • PAYER_NOT_FOUND: The payer is not configured for the connection's company and IPS.
  • BOOKING_OPTION_NOT_FOUND: The program, attention type, regime, affiliate type, relationship or cancellation reason is not one the provider lists.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    required

    One of the following:

    • OficlinicConnectionNotFoundFailure
      CONNECTION_NOT_FOUND
      • code
        CONNECTION_NOT_FOUND
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicPayerNotFoundFailure
      PAYER_NOT_FOUND
      • code
        PAYER_NOT_FOUND
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicBookingOptionNotFoundFailure
      BOOKING_OPTION_NOT_FOUND
      • code
        BOOKING_OPTION_NOT_FOUND
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

409

  • CONNECTION_REQUIRED: The organization has several active connections: select one.
  • CONNECTION_NOT_ACTIVE: The connection is not active.
  • CONNECTION_BUSY: Another operation is using this connection or signing in for the organization.
  • REAUTHENTICATION_REQUIRED: Provider sign-in is stopped for this connection. Verify the connection again.
  • SELECTION_NOT_AVAILABLE: The professional, room, day or slot is not offered in this availability flow, or is no longer offered.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    required

    One of the following:

    • OficlinicConnectionRequiredFailure
      CONNECTION_REQUIRED
      • code
        CONNECTION_REQUIRED
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicConnectionNotActiveFailure
      CONNECTION_NOT_ACTIVE
      • code
        CONNECTION_NOT_ACTIVE
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicConnectionBusyFailure
      CONNECTION_BUSY
      • code
        CONNECTION_BUSY
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        true
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicReauthenticationRequiredFailure
      REAUTHENTICATION_REQUIRED
      • code
        REAUTHENTICATION_REQUIRED
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicSelectionNotAvailableFailure
      SELECTION_NOT_AVAILABLE
      • code
        SELECTION_NOT_AVAILABLE
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

410

SELECTION_EXPIRED: The availability flow expired or does not exist. List booking professionals again.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    object
    required

    The availability flow expired or does not exist. List booking professionals again.

    • code
      SELECTION_EXPIRED
      required

      The failure code, stable across releases.

    • message
      string
      required

      What went wrong, for people; it never contains input values.

    • retryable
      false
      required

      Whether repeating the same request may succeed.

    • data
      object
      required

      No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

422

  • CREDENTIALS_REJECTED: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.
  • CONTEXT_NOT_AVAILABLE: The selected company, site or IPS is not available to the provider account.
  • PROVIDER_IDENTITY_MISMATCH: The provider session does not belong to the connection's user and selected context.
  • PROGRAM_UNITS_NOT_SUPPORTED: The attention type's source unit count is not exactly one, and this service books one-unit programs only.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    required

    One of the following:

    • CredentialsRejectedFailure
      CREDENTIALS_REJECTED
      • code
        CREDENTIALS_REJECTED
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

    • OficlinicContextNotAvailableFailure
      CONTEXT_NOT_AVAILABLE
      • code
        CONTEXT_NOT_AVAILABLE
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicProviderIdentityMismatchFailure
      PROVIDER_IDENTITY_MISMATCH
      • code
        PROVIDER_IDENTITY_MISMATCH
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicProgramUnitsNotSupportedFailure
      PROGRAM_UNITS_NOT_SUPPORTED
      • code
        PROGRAM_UNITS_NOT_SUPPORTED
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

429

  • RATE_LIMITED: The request rate limit was exceeded. Try again later.
  • LOGIN_COOLING_DOWN: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    required

    One of the following:

    • RateLimitedFailure
      RATE_LIMITED
      • code
        RATE_LIMITED
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        true
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicLoginCoolingDownFailure
      LOGIN_COOLING_DOWN
      • code
        LOGIN_COOLING_DOWN
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        true
        required

        Whether repeating the same request may succeed.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

500

INTERNAL_ERROR: The service could not complete the operation.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    object
    required

    The service could not complete the operation.

    • code
      INTERNAL_ERROR
      required

      The failure code, stable across releases.

    • message
      string
      required

      What went wrong, for people; it never contains input values.

    • retryable
      false
      required

      Whether repeating the same request may succeed.

    • data
      object
      required

      No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

502

  • OUTCOME_UNKNOWN: The operation may have been applied; check its result before repeating it.
  • SIGN_IN_OUTCOME_UNKNOWN: The provider did not confirm a sign-in. It is not repeated automatically.
  • PROVIDER_PROTOCOL_CHANGED: The provider returned an unrecognized response.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    required

    One of the following:

    • OutcomeUnknownFailure
      OUTCOME_UNKNOWN
      • code
        OUTCOME_UNKNOWN
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • OficlinicSignInOutcomeUnknownFailure
      SIGN_IN_OUTCOME_UNKNOWN
      • code
        SIGN_IN_OUTCOME_UNKNOWN
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • ProviderProtocolChangedFailure
      PROVIDER_PROTOCOL_CHANGED
      • code
        PROVIDER_PROTOCOL_CHANGED
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        false
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

503

  • UPSTREAM_UNAVAILABLE: The upstream service could not complete the request.
  • PROVIDER_UNAVAILABLE: The provider could not complete the request.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    required

    One of the following:

    • UpstreamUnavailableFailure
      UPSTREAM_UNAVAILABLE
      • code
        UPSTREAM_UNAVAILABLE
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        true
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

    • ProviderUnavailableFailure
      PROVIDER_UNAVAILABLE
      • code
        PROVIDER_UNAVAILABLE
        required

        The failure code, stable across releases.

      • message
        string
        required

        What went wrong, for people; it never contains input values.

      • retryable
        true
        required

        Whether repeating the same request may succeed.

      • data
        object
        required

        No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

504

UPSTREAM_TIMEOUT: The upstream service did not respond before its deadline.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    object
    required

    The upstream service did not respond before its deadline.

    • code
      UPSTREAM_TIMEOUT
      required

      The failure code, stable across releases.

    • message
      string
      required

      What went wrong, for people; it never contains input values.

    • retryable
      true
      required

      Whether repeating the same request may succeed.

    • data
      object
      required

      No fields.

  • metadata
    object
    required

    What every answer carries besides its data or error.

    • requestId
      string
      required

      Request correlation identifier, also sent as X-Request-Id.

Escribe para buscar…

↑↓ navegar↵ seleccionarEsc cerrar