Skip to content
Last updated

Overview

Get familliar with Talli API fundamentals, including how the API is organised, how authentication works, and how we handle errors, pagination, rate limiting and versioning.

Talli API is built on REST principles, lets you programmatically manage Distributions to beneficiaries - this includes creating distributions, sending payout instructions, querying balances and bank accounts and pulling reports

It is a machine-to-machine (M2M) API. Your app calls Talli directly over HTTPS with no browser or end-user in the loop.

Conventions

  • Transport: HTTPS only, Plain HTTP requests are rejected.
  • Encoding: All requests and responses use 'UTF-8'.
  • Content type: 'application/json' for request and response bodies, unless an endpoint explicitly accepts or returns another type (e.g. report endponts accept 'text/csv' to stream a CSV file)
  • Timestamps: ISO 8601 in UTC
  • ID's: Resource identifiers are UUID strings
  • Monetary Format: Amounts are returned as decimal numbers in the currency's major unit (e.g '12.50' for USD $12.50), as of this moment, only USD is supported

Base URL

EnvironmentBase URL
Productionhttps://api.talli.ai
SandboxProvided by your Talli representative

All requests are made against the base URL plus the versioned-prefixed path of the API surface that you're using.

API surfaces

Talli exposes a single public API surface for customer-facing integrations:

SurfaceBase path
Distribution Manager (v3)/v3/distribution-manager/

Authentication

Talli API uses the OAuth 2.0 Client Credentials Flow for authentication. This process involves exchanging your Client ID and Client Secret for a temporary bearer access token. Authentication is identical across all Talli API surfaces

Credentials

Your Talli representative will provide you with the following:

CredentialDescriptionExample (for illustration only)
Token URLThe endpoint for requesting access tokens.https://[your-tenant].us.auth0.com/oauth/token
Client IDYour application's unique public identifier.aBcDeFgHiJkLmNoPqRsTuVwXyZ
Client SecretYour application's secret key. Treat this like a password.123-very-secret-key-456
AudienceThe unique identifier for the Talli API.https://api.talli.ai

Keep secrets out of source control. Store them in a dedicated secret management service (e.x. AWS Secrets Manager, Vault, or Google Secret Manager) and inject them into your application at runtime.

You can create a second credential, rename one, rotate its secret or delete it yourself: see Credentials.

Requesting an access token

To get your token, make a POST request to the Token URL.


Example:

curl --request POST \
  --url https://<your-tenant>.us.auth0.com/oauth/token \
  --header 'content-type: application/json' \
  --data '{
    "client_id": "YOUR_CLIENT_ID",
    "client_secret": "YOUR_CLIENT_SECRET",
    "audience": "https://api.talli.ai",
    "grant_type": "client_credentials"
  }'

Response:

If your credentials are correct, you will receive a JSON response containing your access token.

{
  "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIs...",
  "expires_in": 86400,
  "token_type": "Bearer"
}

Important: Handling Your Access Token

  • Store it securely: The access_token is the key to accessing the API. Store it in a secure but temporary location (e.g., in-memory cache).
  • It's a Bearer Token: You will use this token in the Authorization header of all subsequent API requests.
  • It Expires: The expires_in field indicates the token's lifetime in seconds (86400 seconds = 24 hours). Your application should reuse this token until it is close to expiring, at which point you should request a new one. Please do not request a new token for every API call.

Error Handling

Talli API uses standard HTTP response codes to indicate the success or failure of an API request.

HTTP Status code summary

CodeMeaning
200 OKRequest succeeded.
201 CreatedA 'POST' that creates the resource. The response body contains the created resource
202 AcceptedThe request was validated and queued for asynchronous processing.
204 No ContentA successful write that returns no body, typically a delete or an update without a response payload.
400 Bad RequestThe request is malformed, fails validation, or violates a business rule (e.g. invalid paging, missing required field, or a payout instruction status that does not allow the operation)
401 UnauthorizedYour access token is missing, expired, or wasn't issued by Talli. Re-authenticate at the token endpoint.
403 ForbiddenToken is valid but lacks the permission required for this endpoint, or a business rule forbids this caller the operation, for example NOT_FUNDING_REQUEST_ADDRESSEE.
404 Not FoundThe resource does not exist, or it exists but belongs to a different organization.
409 ConflictRequest conflicts with the current state of your account (e.g. the distribution's bank account does not hold enough unallocated funds, INSUFFICIENT_DISTRIBUTION_BALANCE).
429 Too Many RequestsRate limit exceeded - see Rate Limits.
500 Internal Server ErrorSomething went wrong on our side. The response body includes a requestId - share it with support and we can trace the request.
502 Bad GatewayA service that Talli depends on failed while processing the request. Retry the request.



Error responses are returned as ProblemDetails objects, the format defined by RFC 7807. Every error body includes type, title, status, detail, requestId and traceId. Most error bodies also include instance. Send the requestId to support when you report an error.

{
    "type": "Not Found",
    "title": "Not Found",
    "status": 404,
    "detail": "Payout for payout instruction id 1a2b3c4d-e5f6-7890-1234-567890abcdef was not found.",
    "instance": "GET /v3/distribution-manager/payout-instructions/1a2b3c4d-e5f6-7890-1234-567890abcdef",
    "requestId": "0HN7Q9V2D2L0J:00000004",
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}
FieldDescription
typeStable identifier for the error class - a short label such as Not Found on a validated request, or an RFC 9110 section link such as https://tools.ietf.org/html/rfc9110#section-15.6.1 on an unexpected error.
titleShort, human-readable summary.
statusHTTP status code.
detailReadable explanation of this occurrence.
instanceThe method and path of the request that failed.
errorCodeStable, machine-readable code for the error class, e.g. INTERNAL_ERROR, PAYLOAD_TOO_LARGE, INSUFFICIENT_DISTRIBUTION_BALANCE, EMAIL_SEND_QUOTA_EXCEEDED. Present on unexpected errors and on business-rule 403 and 409 responses; prefer it over type when branching in code.
requestIdCorrelates to a single request in Talli's logs. Include in support tickets.
traceIdDistributed-trace identifier across our services.

A 500 never carries the underlying error text - the body is always the fixed shape below, and the requestId is what lets support find the failing request:

{
    "type": "https://tools.ietf.org/html/rfc9110#section-15.6.1",
    "title": "An error occurred",
    "status": 500,
    "detail": "An unexpected error occurred. Quote requestId when contacting Talli support.",
    "errorCode": "INTERNAL_ERROR",
    "requestId": "0HN7Q9V2D2L0J:00000004",
    "traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}



Validation errors

For 400 validation failures from invalid request bodies/query strings, the response follows RFC 7807's validation extension and includes per-field error messages under errors:

{
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"errors": {
    "bankAccountId": [
    "Bank account is still Pending — wait for activation before promoting the draft."
    ],
    "description": [
    "The 'description' field must not exceed 512 characters."
    ]
},
"requestId": "0HN7Q9V2D2L0J:00000004"
}

Reporting errors to support

Capture and include the requestId and traceId when contacting api-support@talli.ai, it lets us jump directly to the failing request in our logs.

Talli API list methods let you retrieve collections of resources, e.g. such as listing distributions, payout instructions or bank accounts. These methods share a common structure, taking 'pageNumber' and 'pageSize' as query parameters.

Request parameters

ParameterTypeDefaultDescription
pageNumberinteger11-indexed page to return.
pageSizeinteger20 (50 on GET /users and GET /invitations)Items per page. See Maximum page size for the limit of each endpoint.
  curl --request GET \
    --url 'https://api.talli.ai/v3/distribution-manager/distributions?pageNumber=1&pageSize=20' \
    --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Most list methods use the defaults above when you leave out a parameter. GET /payout-instructions and GET /reports/distributions/{distributionId}/basic have no defaults, so you must send both parameters. We recommend that you always send both. Some list methods additionally accept sortBy and sortDirection (Asc | Desc); valid sortBy values are per-endpoint enums documented in the API Reference.

Maximum page size

All paths are relative to https://api.talli.ai/v3/distribution-manager.

EndpointMaximum pageSize
GET /distributions100
GET /distributions/{id}/transactions100
GET /distributions/{id}/payout-instructions/upload-status/{batchId}/rows100
GET /payout-instructions100
GET /bank-accounts100
GET /bank-accounts/{id}/transactions100
GET /bank-accounts/{id}/withdrawal-accounts100
GET /funds-holders100
GET /templates100
GET /users100
GET /invitations100
GET /reports/distributions/{distributionId}/basicNo fixed maximum

If pageSize is less than 1 or more than the maximum, the API returns 400 Bad Request with type set to Invalid Paging Configuration. The API does not reduce an out-of-range value to the maximum.

Response structure

FieldDescription
pageNumberDerived from the request.
pageSizeDerived from the request.
totalPagesTotal pages available for the current filter set.
totalItemsTotal items across all pages.
dataThe page contents, an array of the resource type for that endpoint.
{
    "pageNumber": 1,
    "pageSize": 20,
    "totalPages": 5,
    "totalItems": 87,
    "data": [
      {
        "distribution": {
          "id": "1a2b3c4d-e5f6-7890-1234-567890abcdef",
          "name": "Q2 Field Marketing Distribution",
          "externalId": "q2-field-marketing"
        },
        "details": null
      }
    ]
  }

The example shows a page of GET /distributions, shortened to a few fields. See the API Reference for the full shape of each resource.

Rate Limits

The Talli API enforces rate limits to protect the platform from accidental overload and abuse. Limits are applied per organization, so other customer's traffic never affects your budget. Rate limits are scoped per endpoint group — different endpoints can have different limits.

Reading your usage

Every response from a rate-limited endpoint includes these headers, so you can monitor your usage proactively without waiting to be throttled:

HeaderDescription
X-RateLimit-LimitThe maximum number of requests allowed in the current window for this endpoint.
X-RateLimit-RemainingThe number of requests still available in the current window.
X-RateLimit-ResetThe time the window resets, as a Unix timestamp (seconds since the epoch, UTC).

We recommend reading X-RateLimit-Remaining and backing off as it approaches 0, rather than waiting for a 429.

The exact limit for any endpoint is always reported in its X-RateLimit-Limit header — treat that header as the source of truth rather than hard-coding the values above, as limits may be tuned over time.

Exceeding the limit

If you exceed a limit, the API responds with 429 Too Many Requests. The response includes:

  • A Retry-After header - the number of seconds to wait before retrying.
  • The same X-RateLimit- headers (with X-RateLimit-Remaining: 0).
  • A Problem Details body, consistent with the API's other error responses:
{
  "type": "https://tools.ietf.org/html/rfc6585#section-4",
  "title": "Too Many Requests",
  "status": 429,
  "detail": "Rate limit exceeded. Please retry later.",
  "instance": "POST /v3/distribution-manager/payout-instructions/{id}/:initiate",
  "requestId": "0HN…"
}

Endpoint limits

The table below lists the current limits. All limits are per organization and use a sliding window (e.g. "60 / minute" means no more than 60 requests in any rolling 60-second period). In the routes below, … stands for /v3/distribution-manager Url prefix.

Endpoint(s)Limit
Default — every public API endpoint not listed below60 / minute
POST …/payout-instructions/{id}/:initiate and POST …/distributions/{distributionId}/payout-instructions/:direct-ach (shared limit)20 / minute
POST …/payout-instructions/{id}/:reinitiate20 / minute
POST …/payout-instructions/{id}/:send-reminder20 / minute
POST …/payout-instructions/{id}/:send-notification20 / minute
POST …/distributions/{distributionId}/payout-instructions/:initiate and POST …/distributions/{distributionId}/payout-instructions/:send-reminders (shared limit)5 / minute
GET …/distributions/{id}/payout-instructions/upload-status/{batchId} and GET …/distributions/{id}/payout-instructions/upload-status/{batchId}/rows (shared limit)120 / minute
POST …/credentials, PATCH …/credentials/{clientId}, POST …/credentials/{clientId}/:rotate-secret and DELETE …/credentials/{clientId} (shared limit)10 / minute
GET …/webhooks/{id}/deliveries and GET …/webhooks/{id}/deliveries/{deliveryId} (shared limit)120 / minute
POST …/templates/:send-preview50 / day

Singular live-send endpoints (:initiate / :reinitiate / :send-reminder / :send-notification) carry the tighter 20 / minute limit because each call triggers an outbound email to a beneficiary. The :direct-ach endpoint counts against the same 20 / minute limit as singular :initiate. The templates/:send-preview endpoint, which sends a live test email, is capped at 50 / day.

A "shared limit" row means that the endpoints in that row use one limit together. For example, 3 bulk :initiate calls and 2 bulk :send-reminders calls in one minute use the full 5 / minute.

The sandbox simulate endpoints have their own limits. See Sandbox testing.

For high-volume distribution, use the bulk endpoints (…/payout-instructions/:initiate and …/:send-reminders at the distribution level) rather than scripting many singular calls.

Versioning

Talli versions the API in the URL path segment. Versions are major-version-only, meaning there are no minor versions like v3.1.

Currently supported versions:

VersionSurfaceStatus
v3Distribution ManagerCurrent and recommended.

Backwards-compatible changes

We may make the following changes within a major version without advance notice:

  • Adding new endpoints.

  • Adding new optional request fields.

  • Adding new fields to response bodies.

  • Adding new enum values.

  • Adding new HTTP headers.

  • Adding new optional query parameters.


Tip: Build your integration to ignore fields it does not recognize.

Breaking changes

Breaking changes require a new major version. We treat the following as breaking:

  • Removing or renaming an endpoint, field, or enum value.
  • Changing the type of an existing field.
  • Changing authentication or authorization requirements.

You can check most recent changes done to the API in the Changelog