As part of our ongoing efforts to improve developer experience, we will be phasing out support for the current v1 schema endpoints in favor of our more robust v2 endpoints.
Key Dates
- End of support for v1 endpoints: 14/08/2025
- Removal of v1 endpoints: 14/09/2025
Affected Endpoints
Current v1 endpoints to be deprecated:
- GET /api/v1/schema/mattertypes
- GET /api/v1/schema/mattertypes/tree
- GET /api/v1/schema/mattertypes/{id}/criticaldatescheme
- GET /api/v1/schema/tables/{id}/fields
- GET /api/v1/schema/tables
Replacement Endpoints
- GET /api/v2/schema/{countryCode}/mattertypes/query
- GET /api/v2/schema/{countryCode}/mattertypes/tree
- GET /api/v2/schema/{countryCode}/mattertypes/{matterTypeId}/criticaldatescheme
- GET /api/v2/schema/{countryCode}/tables/{matterTypeId}/fields
- POST /api/v2/schema/{countryCode}/tables
For these v2 endpoints, the accepted countryCode values are:
- AU (test & live): AU
- NZ (test & live): NZ
- UK (test & live): UK
- US (test & live): US
- CA (test & live): CA
A detailed comparison of the v1/v2 endpoints can be found at the bottom of this post.
How does this affect me?
If your application utilises any of the above v1 endpoints, any functionality that relies on these endpoints will be affected once the v1 endpoints are removed.
How to Migrate
To ensure a smooth transition, we recommend developers update their applications to use the v2 endpoints as soon as possible. Here’s how:
- Review the v2 Documentation – Our updated API Reference Guide provides detailed guidance on the v2 schema structure and response formats.
- Update Your Integrations – Modify your API calls to point to the new v2 endpoints and adjust payload structures as needed.
- Test Your Changes – Use our staging environment to validate the integration before deploying to production.
- Monitor for Issues – Leverage logging and monitoring to ensure your application continues to function as expected.
Need Help?
We understand that migrations can be challenging, and we’re here to help. If you have any questions or need assistance, please reach out via the LEAP Integrations Service Desk. For detailed information regarding the new v2 endpoints, please refer to our API Reference Guide.
Thank you for your continued support and for building with our platform. We appreciate your cooperation in ensuring a seamless transition to v2!
Detailed Breakdown of Changes
GET /api/v2/schema/{countryCode}/mattertypes/query
- MatterCategoryName renamed to categoryName
- precedentProfiles array removed
- matterTypeId and deleteCode removed from states array
GET /api/v2/schema/{countryCode}/mattertypes/tree
- matterTypeId and deleteCode removed from states array
- parentId field added to object structure within children array
GET /api/v2/schema/{countryCode}/mattertypes/{matterTypeId}/criticaldatescheme
- Updated structure of root object
- Calculation fields removed
GET /api/v2/schema/{countryCode}/tables/{matterTypeId}/fields
- propertyName renamed to jsName
- sort and deleteCode fields removed from object structure within data array
- hidden renamed to isHidden
- description field added to object structure within data array
POST /api/v2/schema/{countryCode}/tables
- tableName renamed to name
- className renamed to jsName
- basedOnCard renamed to isBasedOnCard
- legalRates renamed to isLegalRates
- apiTable renamed to isAPITable
- isSingleton field added
- API-related fields added
Complete request/responses structures for both v1 and v2 endpoints can be reviewed via our API Reference Guide.