Skip to main content

Intapp REST Client

Intapp HTTPX-based REST client with multi-authentication support, retry logic, and structured logging.

Features

  • HTTPX-based - Modern async HTTP client with connection pooling
  • Both sync and async - Support workflow scripts (sync) and async applications
  • Multi-authentication - OAuth2, built-in Microsoft Entra ID and Okta (client credentials), API Key, Basic, JWT, plus optional httpx-auth providers
  • Comprehensive retry - Built-in 429/5xx handling with exponential backoff
  • Structured logging - Request/response logging with sensitive data masking
  • Per-status retries - Configure different retry counts per HTTP status code
  • Type hints - Full typing support
  • Parallel batch methods - parallel_get, parallel_post, parallel_put, parallel_delete, and async variants (aparallel_*) with configurable error handling (FAIL_FAST, COLLECT, LOG_ONLY)

Documentation

For full details and to get started: Intapp REST Client

Installation

# Using uv (recommended)
uv add intapp-rest-client

# With JWT support
uv add intapp-rest-client[jwt]

# Using pip
pip install intapp-rest-client

Quick Start

OAuth2 Client Credentials

from intapp_rest_client import RestClient, OAuth2Config, RetryConfig

client = RestClient(
    base_url="https://api.example.com/",
    oauth2_config=OAuth2Config(
        token_url="https://api.example.com/oauth/token",
        client_id="your_client_id",
        client_secret="your_secret",
        scope="data"
    ),
    retry_config=RetryConfig(
        max_retries=5,
        backoff_factor=2.0,
        retryable_statuses=(429, 500, 502, 503, 504),
        retry_count_by_status={
            429: 5,  # More retries for rate limits
            500: 2,  # Fewer for server errors
        }
    )
)

# GET request
data = client.get("/api/v4/resources")

# POST with JSON body
result = client.post("/api/v4/resources", json={"name": "New Resource"})

# DELETE with body
result = client.delete("/api/v4/resources/123", json={"reason": "cleanup"})

client.close()

Context Manager

with RestClient(base_url="https://api.example.com/", api_key="your-key") as client:
    data = client.get("/api/v4/resources")

Async Usage

import asyncio
from intapp_rest_client import RestClient, OAuth2Config

async def main():
    async with RestClient(
        base_url="https://api.example.com/",
        oauth2_config=OAuth2Config(...)
    ) as client:
        # Async requests
        data = await client.aget("/api/v4/resources")
        result = await client.apost("/api/v4/resources", json={"name": "New"})

asyncio.run(main())

Source

This SDK is distributed under the Intapp License for Supplemental Software (LICENSE). It is not open source.

Source for inspection and learning is provided via the PyPI source distribution (and hand-delivered tarballs built the same way).

Full documentation: Intapp REST Client

License

Intapp License — see LICENSE.

Metadata

Release files for intapp-rest-client 1.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for intapp-rest-client 1.0.14
File Size Uploaded Provenance Actions
intapp_rest_client-1.0.14.tar.gz 86.4 kB Without provenance Details for intapp_rest_client-1.0.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for intapp-rest-client 1.0.14
File Interpreter ABI Platform Actions
intapp_rest_client-1.0.14-py3-none-any.whl Python 3 none any Details for intapp_rest_client-1.0.14-py3-none-any.whl

Total release size: 138.4 kB

Release files / intapp_rest_client-1.0.14.tar.gz

Download URL intapp_rest_client-1.0.14.tar.gz
Size 86.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0f98793ea8173e3e158ce82fe6a772c247cac98a7531831f397d999c9fb7b140
BLAKE2b-256 checksum
How to use checksums
1d4c2dd878b049798fdcfa5e14edd1c5fea646a441c6796921d54da4e60eadfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release files / intapp_rest_client-1.0.14-py3-none-any.whl

Download URL intapp_rest_client-1.0.14-py3-none-any.whl
Size 52.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
563f344c92dd1a0c6dcdc97358c853fc64f7316f464b62553bac0d4c0c76e77e
BLAKE2b-256 checksum
How to use checksums
65ce246bcabde8f7c2e4b3f0ba5d0d670ab3ea21a37b6adc63045208d801255c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Security for intapp-rest-client 1.0.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page