ID card printing API for onboarding systems

    By Percard ID · Updated

    What the Cardholder API is

    Our Cardholder API is for teams that already run hiring in an HR, payroll, or identity system and want ID cards to follow automatically. It works with any HR or onboarding system that can send data out, such as Workday, ADP, BambooHR or Rippling, using its webhooks, an integration tool like Zapier, or your IT team.

    Our API reference on the developers page is version 1.2.3, last updated November 4, 2026. In short, you can list your forms, read one form, send one cardholder or up to 100 at once, look up statuses, and remove a cardholder before production starts. Keys are server-to-server only: test keys check everything and save nothing; live keys create real cardholders.

    The same path for automatic new-hire badges is on our integrations page. It is for security companies, staffing agencies, healthcare and home-care networks, delivery and gig platforms, franchises, property management, and HR and onboarding platforms.

    How the onboarding-to-card flow works

    There are four steps from a new hire to a shipped card.

    When someone is hired, your onboarding system sends their name, role, and photo to us by API.

    Your team then approves the card. You see the finished card, can move or zoom the photo, and approve it. Nothing prints before that. This per-card review applies when your account requires card approval. Staff can open an approval link in the browser — no portal sign-in or approval-link email is required — or do the same review in Saved Cards in the portal. Approving the overall badge design is a separate decision, handled in Designs. Cards without photos can still be previewed and approved.

    Approved cards print within 1–3 business days.

    We then ship the card to each person or each site. Your system can look up the status at any time. The statuses are received, confirmed, in_production, printed, shipped, and replaced.

    Behind those steps, account settings decide how orders are created. By default, submissions wait in intake for grouping into orders. Accounts can instead use one order per cardholder, automatic release, and no admin intake-review hold. Those choices are account settings, not fields you send with each request. A reply includes an order_number only when an order was created or already exists. Required client card approval still applies even when admin review is off.

    A received reply confirms receipt, not approval, printing, or payment. If you send the same external_id for a saved cardholder, the API returns status duplicate and the existing ID; it does not update the card. Keep external IDs stable across retries. You can remove an API-sent cardholder with DELETE until production starts.

    What you send, and how you authenticate

    Account owners create and manage API keys in the portal's API section. Start with a test key whose name begins with pcid_test_. Use a live key (pcid_live_…) for actual submissions. Keys are shown once; store them on your server, never in browser code. Every request uses an Authorization: Bearer header.

    The base URL in our Cardholder API reference is:

    https://ahokzlxudlwhizmjrlfv.supabase.co/functions/v1/corporate-api/v1

    The endpoints are:

    • GET /forms — your forms, including fields, dropdown choices, photo rule, and version
    • GET /forms/{form} — one form by its short name
    • POST /cardholders — add one cardholder
    • POST /cardholders/batch — add up to 100 cardholders, with per-row results
    • GET /cardholders?since=ISO — status changes since a time (read permission)
    • GET /cardholders/{id} — status of one cardholder; use ext:{external_id} to look up by your ID
    • DELETE /cardholders/{id} — remove an API-sent cardholder before production starts

    A typical single submission includes a stable external_id, the form's short name, a fields object (for example first_name, last_name, and title), and a photo. Many accounts have several forms — for example, one for nurses with a photo and one for contractors without. If your account has only one form, you can leave the form field out. GET /forms tells you each field's type, whether it is required, the dropdown choices, and whether a photo is required, optional, or not accepted.

    Field rules: send one of a dropdown's listed choices (value or label); dates use YYYY-MM-DD; addresses are an object with street1, city, state, zip, and optionally street2, country, name, and phone. Fields the form does not have are rejected, so typos do not disappear silently.

    Photos can be sent as photo_url (a public https link) or photo_base64. Accepted types are JPEG, PNG, WebP, or HEIC, up to 10 MB. Use photo_url for batches. If you ship to individual cardholders, send each person's shipping address using the address field returned by GET /forms. Do not add an unsupported top-level shipping field.

    A batch can mix forms, so staff, contractors, and other departments can go in the same call. A valid batch request returns HTTP 207 even if some rows fail, so you check each row rather than only the HTTP status. Over a live key's daily limit, extra cardholders are held for you to release, not lost. The default limits are 60 requests per minute and 500 cardholders per rolling 24 hours per key; we can raise both for your account.

    The full request examples, approval popup flow, error codes (including 410 destination reasons), and OpenAPI description are on our developers page. This guide does not repeat that reference.

    Artwork and design options

    Before you send live cardholders, you set up the badge itself. Our go-live checklist is: set up the form fields you want printed on the card; design the badge in our builder or upload your own artwork (no setup fee), or ask us for a template or custom design; approve the design — API cardholders use your newest approved design; choose whether your team approves each card before print; then test with a pcid_test_ key, including one deliberate mistake and one batch, and switch to a live key stored on your server.

    If you want us to design the badge, optional design help is $99.00 for a template build or $299.00 for a custom design, once.

    Those same design fees are listed under "Design & setup" on our pricing page. These fees apply to corporate quote setup. Finished-artwork checkout uses the card product pricing shown before payment. For the API path, there is no setup fee when you design in our builder or upload your own artwork.

    Overall badge design approval in Designs is a separate decision from approving each printed card.

    Pricing

    API access is included, and we charge no API fees. Shipping is charged per shipment, and billing is on one monthly invoice. Accounts can invoice each order when it ships; automatic payment depends on the account's billing setup and card on file. Submission and approval replies are not invoice or payment confirmations.

    Here are our per-card prices by order size:

    QuantityPer card
    1–10 cards$11.99
    11–25 cards$10.99
    26–50 cards$9.99
    51–100 cards$8.99
    101–250 cards$7.99
    251+ cardsRequest a quote

    For 251+ cards we also use the wording "Volume pricing on request." The figures in the table are the same on our pricing and integrations pages.

    Full color on both sides is included. There is no API-wide second-side surcharge; card pricing, double-sided inclusion, slot punches, and holders follow your agreed account catalog and production settings.

    Base card prices exclude optional finishes, shipping, and applicable tax. Your order or quote shows the final total. Existing client agreements may differ.

    Optional finishes:

    • Slot punch + $0.55 / card
    • Holographic overlay + $2.00 / card
    • Unique barcode + $0.65 / card
    • Unique QR code + $0.65 / card
    • 3 custom information elements included; additional elements + $0.25 each per card
    • NFC, HID, and magstripe require a custom quote

    Tracked postage is added to the order when the label is purchased, using the actual label cost and any configured account markup. Shipping-service options include USPS Ground Advantage, USPS Priority Mail, USPS Priority Mail Express, UPS Ground, UPS 3 Day Select, UPS 2nd Day Air, UPS Next Day Air Saver, UPS Next Day Air, and USPS Stamp (untracked, $2 flat). A default service is a preference, not a purchased label or guaranteed rate.

    Getting started

    Start on the integrations page if you want the new-hire overview, or on the developers page if you want the API reference, go-live checklist, and OpenAPI description.

    A practical sequence is: confirm your form fields and approved badge design, create a test key in the portal, send a test submission (including one intentional mistake and one batch), then switch to a live key stored only on your server. Each key can have its own permissions (send, or send plus read status), an optional IP allowlist, limits, and an expiry date. Status responses contain no names, photos, or form answers.

    When you are ready, request a sandbox key or book a 15-minute demo from the integrations page, or write to orders@percardid.com.

    Connect your onboarding system

    If you want automatic new-hire ID cards from the system you already use, start with the integrations overview, then use the Cardholder API reference to map your fields and go live.

    Frequently asked questions

    Will the Cardholder API work with our HR or onboarding system?
    It works with any HR or onboarding system that can send data out, such as Workday, ADP, BambooHR or Rippling, using its webhooks, an integration tool like Zapier, or your IT team.
    Are there API fees or a setup fee?
    API access is included, and we charge no API fees. There is no setup fee when you design in our builder or upload your own artwork. Optional design help is $99.00 for a template build or $299.00 for a custom design, once.
    What information do we send for each new hire?
    Your onboarding system sends the new hire's name, role, and photo by API. A request typically includes a stable external_id, the form to use, the field values that form requires, and a photo as a public https photo_url or as photo_base64. GET /forms lists each field's type, whether it is required, dropdown choices, and whether a photo is required, optional, or not accepted. Photos may be JPEG, PNG, WebP, or HEIC, up to 10 MB.
    Do cards print as soon as we submit them?
    Not necessarily. Your account settings determine whether submissions wait in intake or become individual orders automatically. When card approval is required, your staff preview the finished card, can move or zoom the photo, and approve it; nothing prints before that. Approved cards print within 1–3 business days.
    How do we track a card after we send it?
    Your system can look up a cardholder's status at any time. Statuses are received, confirmed, in_production, printed, shipped, and replaced. After a card ships, the status lookup can include nested tracking (carrier, number, and URL). Status responses do not return names, photos, addresses, or form answers.
    What is the difference between a test key and a live key?
    Account owners manage keys in the portal's API section. A test key (pcid_test_…) validates a submission but does not save a cardholder, photo, order, or approval link; a valid test submission returns status "test_accepted" and a temporary test_… ID. A live key (pcid_live_…) creates real cardholders. Keys are shown once; store them on your server, never in browser code.

    Send new hires from your HR system. We print and ship their cards.

    See how integrations work