The public API provides programmatic access to Tendrex for external integrations, reporting tools, and automation. It is separate from the internal session-based API used by the Tendrex web app.
https://app.tendrex.co.uk/api/v1
All requests must include an API key in the Authorization header as a Bearer token. API keys are prefixed with tx_ and created from the Developer tab in the Tendrex app.
curl -H " Authorization: Bearer tx_your-api-key " \
https://app.tendrex.co.uk/api/v1/tenders
Each API key has one of three scope levels. Higher scopes include all lower scope permissions.
Scope Access Read List and retrieve resources Write Create, update, and delete resources (includes read) Admin Full access including user invitations and API key management (includes write)
Requests that exceed the key’s scope return 403 Forbidden.
The API is rate limited to 100 requests per minute per key.
Method Endpoint Scope Description GET/tendersRead List all tenders GET/tenders/:idRead Get tender details POST/tendersWrite Create a new tender PUT/tenders/:idWrite Update tender metadata DELETE/tenders/:idWrite Delete a tender
Method Endpoint Scope Description GET/tenders/:id/answersRead List answers for a tender GET/answers/:idRead Get a specific answer PUT/answers/:idWrite Update an answer POST/answers/:id/approveWrite Approve an answer POST/answers/:id/rejectWrite Reject an answer POST/answers/:id/assignWrite Assign an answer to a user or team
Method Endpoint Scope Description GET/documentsRead List all documents POST/documentsWrite Upload a new document GET/documents/:id/chunksRead Get document chunks DELETE/documents/:idWrite Delete a document
Method Endpoint Scope Description POST/rag/queryRead Query the knowledge base and receive an AI-generated answer with sources
Method Endpoint Scope Description GET/libraryRead List approved canonical answers GET/library/searchRead Semantic search across the library
Method Endpoint Scope Description GET/usersRead List users in your organisation POST/users/inviteAdmin Invite a user by email
Method Endpoint Scope Description GET/teamsRead List all teams
Method Endpoint Scope Description GET/keysAdmin List API keys POST/keysAdmin Create a new API key DELETE/keys/:idAdmin Delete an API key
Method Endpoint Scope Description GET/openapi.jsonNone OpenAPI 3.0 specification for the public API
All errors return a JSON body:
"message" : " Insufficient scope for this operation "
Status Meaning 400Bad request — invalid parameters 401Unauthorised — missing or invalid API key 403Forbidden — key does not have the required scope 404Not found — resource does not exist 429Rate limited — too many requests (100/min per key) 500Internal server error