Skip to content
Navigation

List stored authorizations

Page the authorizations already observed for an active IPS connection. Each record retains its source timestamp. This does not refresh the provider. Follow pageInfo.nextCursor for all records.

  • Scope: salud-total:authorizations: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 256 KB
  • CLI: arbol saludtotal authorizations list · MCP tool: salud_total_authorizations_list
GET
https://api.getarbol.com/v1/salud-total/authorizations

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 salud-total:authorizations:read. Get an API key.

Query parameters

  • connectionId
    string
    required

    The connection id.

    pattern: ^con_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • cursor
    optional
    string

    Opaque cursor returned by pageInfo; omit it to request the first page.

  • 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: 100 · minimum: 1 · default: 25

Returns

200

Successful operation.

JSON
  • success
    true
    required
  • data
    object
    required
    • data
      array of
      object
      required

      Items admitted by this resource contract within the verified organization.

      • id
        integer
        required
        maximum: 2147483647 · minimum: 1
      • number
        string | null
        required
        maxLength: 100 · minLength: 1
      • status
        string
        required
        maxLength: 250 · minLength: 1
      • statusId
        integer
        required
        maximum: 2147483647 · minimum: 1
      • patient
        object
        required
        • id
          integer
          required
          maximum: 2147483647 · minimum: 1
        • documentType
          string
          required
          maxLength: 30 · minLength: 1
        • documentNumber
          string
          required
          maxLength: 30 · minLength: 1
        • fullName
          string
          required
          maxLength: 512 · minLength: 1
      • siteId
        integer
        required
        maximum: 2147483647 · minimum: 1
      • siteName
        string
        required
        maxLength: 250 · minLength: 1
      • issuedAt
        string | null
        required
        format: date-time
      • approvedAt
        string | null
        required
        format: date-time
      • validUntil
        string | null
        required

        A local calendar date in YYYY-MM-DD format.

        format: date · pattern: ^\d{4}-\d{2}-\d{2}$
      • items
        array of
        object
        required
        • id
          integer
          required
          maximum: 2147483647 · minimum: 1
        • serviceCode
          string
          required
          maxLength: 100
        • serviceName
          string
          required
          maxLength: 1500
        • quantity
          number
          required
          minimum: 0
        • orderNumber
          string | null
          required
          maxLength: 512
      • observedAt
        string
        required
        format: date-time
      • document
        object
        required
        • status
          not_downloaded
          or
          stored
          or
          requires_provider_action
          required
        • contentType
          string
          required
        • byteLength
          integer | null
          required
          minimum: 1
        • sha256
          string | null
          required
          pattern: ^[a-f0-9]{64}$
    • 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.

    • source
      provider
      or
      stored
      required
    • connectionId
      string
      required
      pattern: ^con_[0-7][0-9a-hjkmnp-tv-z]{25}$
    • observedAt
      string | null
      required
      format: date-time
  • 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.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    object
    required

    The request does not match the published schema.

    • 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
  • 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.
  • PORTAL_ACCESS_UNVERIFIED: 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.
  • MODULE_FORBIDDEN: The account cannot access the required module.
  • SITE_UNAVAILABLE: This branch or site is not available to the selected IPS connection.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    required

    One of the following:

    • ForbiddenFailure
      FORBIDDEN
      • 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.

    • SaludTotalPortalAccessUnverifiedFailure
      PORTAL_ACCESS_UNVERIFIED
      • code
        PORTAL_ACCESS_UNVERIFIED
        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.

    • SaludTotalModuleForbiddenFailure
      MODULE_FORBIDDEN
      • code
        MODULE_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.

    • SaludTotalSiteUnavailableFailure
      SITE_UNAVAILABLE
      • code
        SITE_UNAVAILABLE
        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

AUTHORIZATION_NOT_FOUND: This authorization is not available in the selected connection.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    object
    required

    This authorization is not available in the selected connection.

    • code
      AUTHORIZATION_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

  • AUTHORIZATION_DOCUMENT_UNAVAILABLE: The provider did not offer a PDF that can be obtained without a clinical action.
  • CONNECTION_UNAVAILABLE: This operation requires an active IPS connection in this organization with the matching workflow tag.
  • SESSION_CLOSED: 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.
  • INTERACTIVE_VERIFICATION_REQUIRED: The IPS operator must complete an interactive portal step.
  • 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.
  • IPS_IDENTITY_MISMATCH: The provider returned a different IPS identity.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    required

    One of the following:

    • SaludTotalAuthorizationDocumentUnavailableFailure
      AUTHORIZATION_DOCUMENT_UNAVAILABLE
      • code
        AUTHORIZATION_DOCUMENT_UNAVAILABLE
        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.

    • SaludTotalConnectionUnavailableFailure
      CONNECTION_UNAVAILABLE
      • code
        CONNECTION_UNAVAILABLE
        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.

    • SaludTotalSessionClosedFailure
      SESSION_CLOSED
      • code
        SESSION_CLOSED
        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.

    • SaludTotalInteractiveVerificationRequiredFailure
      INTERACTIVE_VERIFICATION_REQUIRED
      • code
        INTERACTIVE_VERIFICATION_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.

    • SaludTotalCredentialsRejectedFailure
      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.

    • SaludTotalIpsIdentityMismatchFailure
      IPS_IDENTITY_MISMATCH
      • code
        IPS_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.

  • 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.

    • SaludTotalLoginCoolingDownFailure
      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
        false
        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.
JSON
  • success
    false
    required
  • data
    unknown
    required
  • error
    object
    required

    The operation may have been applied; check its result before repeating it.

    • 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.

  • 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.
  • AUTHORIZATION_STORE_UNAVAILABLE: The authorization store is unavailable.
  • ACCOUNT_UNAVAILABLE: The connection directory or vault is unavailable.
  • SESSION_EXPIRED: 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.
  • PROVIDER_UNAVAILABLE: The provider response is unavailable or unrecognized.
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.

    • SaludTotalAuthorizationStoreUnavailableFailure
      AUTHORIZATION_STORE_UNAVAILABLE
      • code
        AUTHORIZATION_STORE_UNAVAILABLE
        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.

    • SaludTotalAccountUnavailableFailure
      ACCOUNT_UNAVAILABLE
      • code
        ACCOUNT_UNAVAILABLE
        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.

    • SessionExpiredFailure
      SESSION_EXPIRED
      • code
        SESSION_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.

    • SaludTotalProviderUnavailableFailure
      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
        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.

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