Skip to navigation

SDKs

Four official SDKs — TypeScript, Python, Go and PHP — built from the same contract and tested against the same vectors.

The SDKs are generated from the same API contract as this reference and hold the same behaviour in every language: what is retried, how tokens are renewed, how a webhook is verified and how events are deduplicated.

LanguageSupported runtimesRecommendedPackage
TypeScriptNode.js 22, 24, 26Node.js 24 LTSComing at general availability.
PythonPython 3.11 – 3.14Python 3.14Coming at general availability.
GoGo 1.26, 1.27Go 1.27Coming at general availability.
PHPPHP 8.3 – 8.6PHP 8.5Coming at general availability.

A runtime is listed as supported only after the SDK’s full test suite passed on its latest patch release.

What every SDK does for you

ConcernBehaviour in all four SDKs
Tokensclient_credentials with client_secret_basic, client_secret_post or private_key_jwt (RS256 / ES256). Tokens are cached, renewed before they expire, shared by concurrent callers, and renewed once on a 401. Never parsed, never logged.
RetriesOnly when a repeat cannot duplicate an effect: reads, and writes whose operation takes an Idempotency-Key. Retry-After is honoured; otherwise exponential backoff with full jitter.
IdempotencyA write whose operation declares Idempotency-Key gets a fresh key per logical call, reused by its retries — or the key you pass.
ErrorsTyped errors from {code, error, details?, requestId}, including rate limits (with the refusing level), idempotency conflicts, expired cursors and 202 APPROVAL_REQUIRED.
PaginationIterators over every cursor-paged list.
PollingWaiters with backoff for media processing, AI jobs and scheduled posts — statuses that have no event.
EventsA durable feed consumer that checkpoints after your handler, a realtime client that acks after your handler, and an event stream that combines both.
WebhooksStandard Webhooks verification with rotation and a 5-minute tolerance, and a handler that deduplicates on eventId and tells you which status to answer.
LeasesHelpers that acquire, renew and release a conversation lease and send with its fencing token.
ObservabilityOne X-Request-Id per logical call, reused by its retries and surfaced on every error.

Releases

  • Versions follow Semantic Versioning; every release has a changelog.
  • Each release ships an SBOM and signed artifacts.
  • Each SDK will have a public source repository at general availability: github.com/evvahub/partner-sdk-node, github.com/evvahub/partner-sdk-python, github.com/evvahub/partner-sdk-go and github.com/evvahub/partner-sdk-php (coming at general availability).
  • Found a security issue in an SDK? See Security.

Next steps