We’re happy to announce a new API endpoint that allows you to generate and download Project TM Leverage Reports directly through the Transifex API.
Previously, TM Leverage Reports were only available from the Transifex UI. With this new endpoint, you can now automate report generation and integrate leverage reporting into your own workflows and reporting systems.
Endpoint
POST /project_leverage_reports_async_downloads
Example request
curl –request POST
–url https://rest.api.transifex.com/project_leverage_reports_async_downloads
–header ‘accept: application/vnd.api+json’
–header ‘authorization: Bearer <API_TOKEN>’
–header ‘content-type: application/vnd.api+json’
–data ’
{
“data”: {
“relationships”: {
“project”: {
“data”: {
“type”: “projects”,
“id”: “o:colvera:p:manual_test”
}
}
},
“type”: “project_leverage_reports_async_downloads”
}
}
’
The endpoint creates an asynchronous report generation job. Once the report is ready, you can retrieve the download URL from the job and download the generated CSV file.
For complete details about the request, response, and asynchronous workflow, refer to the API documentation:
As always, we’d love to hear your feedback or learn how you’re planning to use this new endpoint.