Skip to main content

API fundamentals

Every AgencyMax API follows the same conventions and is reached through the same API gateway. These pages describe behavior that applies to all of the APIs.

TopicSummary
Environments and base URLsWhere the APIs live and how their URLs are built.
Developing against TestBuild and test against Test, where releases arrive first, then move to Production.
Subscription keysPass your subscription key on every request in Ocp-Apim-Subscription-Key.
AuthenticationGet OAuth 2.0 bearer tokens with the tenant and API scopes you need.
TenantsEvery tenant-scoped URL starts with your tenant identifier, which must match your token.
Rate limits and quotasThrottling (429), quotas and how to back off.
ErrorsStatus codes and RFC 9457 problem details.
Pagination and sortingpageIndex, pageSize and sort.
Partial updatesHow PATCH differs from PUT, and how to clear a value.
Data formatsJSON conventions, dates, jurisdictions and nulls.
AuditingThe initiator field, and why you should set it to the real user.
VersioningHow API versions and breaking changes are handled.
Best practicesRetries, idempotency, caching and security.