BidProofRequest access

The BidProof API

Call BidProof from your own bid system with your organisation’s API key. An owner or admin makes a key in BidProof, under Sharing. Send it with every call as Authorization: Bearer bp_…. A key acts for one organisation and can be revoked at any time.

The same rules as the screens

The calls

List your bids

The ids the other calls take.

curl -H "Authorization: Bearer $BIDPROOF_KEY" https://bidproof.co.uk/api/v1/bids
Read a tender document

Returns the questions found, with their criteria, weighting, limit and pass or fail mark, the scoring scale and the dates. Nothing is saved unless you add ?add=1, which adds them to the bid as found.

curl -H "Authorization: Bearer $BIDPROOF_KEY" -F file=@invitation-to-tender.pdf https://bidproof.co.uk/api/v1/bids/<bid id>/tender-pack
Draft a first-pass answer for a gap

Drafts an answer for a library question you have no answer for, from your own signed-off answers. It is saved unsigned and never overwrites an answer. The question's id is the last part of its address in the bid library, for example q.sv.contact.

curl -H "Authorization: Bearer $BIDPROOF_KEY" -H "Content-Type: application/json" -d '{"question_id":"<library question id>"}' https://bidproof.co.uk/api/v1/answers/draft
Run the pre-review check on a bid

Checks every question that has criteria, an answer and no current result, and returns for each question the criteria met, partly met or not met, the inputs to ask for and the ways to strengthen the answer. It returns no predicted mark, and it never changes an answer.

curl -H "Authorization: Bearer $BIDPROOF_KEY" -X POST https://bidproof.co.uk/api/v1/bids/<bid id>/pre-review-check
Fill the buyer's template

Returns the buyer's own .docx or .xlsx with each signed-off answer where the buyer left room, and every gap marked.

curl -H "Authorization: Bearer $BIDPROOF_KEY" -F file=@response-template.docx -o filled.docx https://bidproof.co.uk/api/v1/bids/<bid id>/template