How it works
- You send a
POSTrequest with an array of certificate entries — each with acountry,candidate_number, andyear. - The platform queries each entry against the WAEC database.
- The response contains one result object per entry. Entries that matched include the full certificate data; entries with no match return
result: null. - For confirmed certificates where the candidate has a registered email, a digital copy is sent to them automatically.
The entire request always returns
200 OK. Per-entry outcomes are determined by the result field — not the HTTP status code.Confirm a single certificate
Confirm multiple certificates
Add as many entries as needed to thecertificates array. Each is processed independently:
Processing the response
Iterate through thedata array and check each entry’s result field:
Handling not-found results
When a candidate is not found, the entry looks like this:is_error is false — this is an expected outcome, not an API error. Use result === null as your not-found check.