- API
Issue credentials from your own software
Issue, track and revoke credentials from your own software.
When REST API
Your app marks a learner as passed
Then Certnest
POST /issues sends the certificate
Every credential is signed and can be checked by anyone
Guide
How REST API works with Certnest
A clean JSON API on every plan. Issue up to 1,000 people per call with an idempotency key, follow each send, revoke with a reason and verify any credential. Errors come back in plain words you can show to people.
Who it is for
- Developers adding credentials to their own product, LMS or HR system
- Teams that want full control and safe retries
What you need
- A Certnest key with the right permissions
- The ID of the credential to send
- Any language that can send HTTPS
- Connection
- Native
- How it connects
- REST API
- Set-up time
- About 20 minutes
- Category
- Developer
- Starts on
- POST /issues and more
- Plans
- Every plan, including free
Step by step
Set up REST API
About 20 minutes, 10 steps
Step 1: Create an API key
In Certnest, open Settings, API keys, New API key. Name it after where it will be used, such as "your code", and make sure Issue is ticked (Read is on already). Then choose Create key.
Give each tool its own key. You can revoke one without touching the others.

In Certnest. The New API key window in Certnest. 1: the key's name. 2: the Issue permission, ticked. 3: the Create key button. View full size Step 2: Copy the key now
Certnest shows the key one time only and keeps just a fingerprint of it. Copy it into a password manager. If it is ever lost, rotate it in the same place and paste the new one.

In Certnest. The window that shows a new API key once. 1: the Copy button. View full size Step 3: Add an HTTPS request
In your code, add an HTTPS request that sends a POST to https://certnest.co/api/v1/issues with two headers: Authorization: Bearer and your key, and Idempotency-Key with an ID that is the same each time for the same person and course.
Drawing, not a screenshot. A drawing of the request: POST to the Certnest issues address with the Authorization and Idempotency-Key headers. Step 4: Send the person
The body names the credential and up to 1,000 people, each with a name, an email and your own ID. Set send email to true to email each person their link.
Drawing, not a screenshot. A drawing of the JSON body with credential_id, one recipient and send email set to true. Step 5: Read the answer
A 202 answer lists each person with their credential link. A person who already holds it comes back with duplicate set to true and is not emailed again. Retry only on 429 or 5xx answers, with the same Idempotency-Key.
Step 6: Follow the send
GET /sends/{send_id} returns counts for queued, sent, delivered, opened, viewed, downloaded, added to LinkedIn, bounced and revoked. GET /issues/{id} returns one person's credential.
Step 7: Revoke with a reason
POST /issues/{id}/revoke with a reason. Revoking twice returns the same record, so it is safe to retry. The verify page shows it as revoked at once.
Step 8: Add a webhook endpoint in Certnest
In Settings, Webhooks, choose Add endpoint. Paste the address of your service, pick the events you want and save. Copy the signing secret: it is shown once.

In Certnest. The Add an endpoint window. 1: the endpoint address. 2: the Credential issued event, ticked. 3: the save button. View full size Step 9: Check each signature
Every delivery has a Certnest-Signature header: t, a time, and v1, an HMAC-SHA256 of the time, a dot and the raw body, made with your secret. Compare it, and refuse anything older than five minutes.
Drawing, not a screenshot. A drawing of the signature check: build the expected HMAC from the time and raw body, compare, refuse old deliveries. Step 10: Check the first one
Every API send appears in the app too. In Certnest, People and sends shows it with its status as it moves from sent to opened, downloaded and added to LinkedIn.

In Certnest. A send in Certnest. 1: the counts for sent, opened, downloaded and added to LinkedIn. View full size
What happens next
What the person receives
Whatever starts it, everyone gets the same signed credential, ready to share.
1 of 4
An email arrives
Within moments the person gets an email from your organisation with a button to their credential. You set the sender, the words and your logo in Settings, Email.
Drawing, not a screenshot. A drawing of the email a person receives: the organisation's name, a short note and a View your certificate button. 2 of 4
Their own credential page
The button opens the credential page: the design with their name, a PDF to download and one click to add it to LinkedIn. No account is needed.

In Certnest. A credential page on a phone. 1: Download PDF. 2: Add to LinkedIn. 3 of 4
On their profile in one click
Add to LinkedIn fills in the credential name, your organisation, the date and the link, so it shows under licences and certifications.
Drawing, not a screenshot. A drawing of a profile section listing the new certificate, with the issuer and a Show credential link. 4 of 4
Anyone can check it is real
An employer opens the link or scans the QR code. Certnest checks the signature, that it was not revoked and that it has not expired.

In Certnest. The verify page. 1: the result, a valid credential with the issuer named. View full size
Want to watch it happen? Try the interactive demo.
Ideas
What you can automate with REST API
A clean JSON API on every plan. Issue up to 1,000 people per call with an idempotency key, follow each send, revoke with a reason and verify any credential. Errors come back in plain words you can show to people.
When REST API
Your app marks a learner as passed
Then Certnest
POST /issues sends the certificate
When REST API
Your support tool needs a status
Then Certnest
GET /issues shows delivered, opened or bounced
When REST API
A member leaves your association
Then Certnest
POST /issues/{id}/revoke with a reason
Troubleshooting
If something does not work
The run log and People and sends show what happened to each person. These are the usual fixes.
429 Too many requests
Wait for the Retry-After seconds, then send again with the same Idempotency-Key.
401 Unauthorized
Send Authorization: Bearer and the key. Check it has the permission the call needs.
Someone did not get an email
Open People and sends and find them. A bounced address shows as Bounced: fix it and send again. If Delivery is set to Issue only, nothing is emailed by design.
The same person came through twice
They still hold one credential. A person who already has a live copy gets the same one back and is not emailed again. Send a stable ID with each person to make this exact.
REST API questions
Is the REST API integration built by Certnest?
Yes. We built and tested it ourselves.
Does the REST API integration cost extra?
Integrations, the API and webhooks are on every Certnest plan, including the free plan with 1,000 credentials a year. Zapier or Make may charge for their own plans.
Can it issue the same person twice by mistake?
No. Every call carries an ID or a retry key. Someone who already holds a live copy of the credential gets the same one back, and is not emailed again.
Related
Works well with
Webhooks
NativeSigned events out, and one inbound address per automation in.
- Webhook
Supabase
Via webhookIssue from a database change or an Edge Function, and store Certnest events.
- API
Google Sheets
NativeIssue a credential for each row, and get the link and status written back.
Google Forms
NativeSend a credential when someone submits the form and passes your rule.
Zapier
NativeConnect Certnest to thousands of apps with triggers, actions and a search.
Make
NativeBuild visual scenarios that issue, revoke and react to credentials.
All trademarks belong to their owners. Certnest is not affiliated with them unless stated. Logos from Simple Icons (CC0) where available.
Start issuing from REST API
Free for your first 1,000 credentials a year. No card needed.