Put Dium inside your product. Keep your members on your site.

Call the partner API from your backend, mount Dium under your own domain, and sign members in with a one-time token.

No SDK to install. Every call is a JSON POST you can make with curl.

From zero to a signed-in member in three calls

  1. Get a partner key

    We issue keys by hand for now. You tell us your site, your mount path and the actions you need. We add them to our partner registry.

  2. Make your first call

    From your server, POST to /api/auth.php with action: "issue_token" and a member's email. You get a one-time token back.

  3. Send the member in

    Redirect the browser to /home/autologin.php?token=.... Dium checks the token, sets the session and opens the Flow.

How to get an API key

There is no self-serve key page yet. The Dium team issues each partner key by hand and sets its scopes with you.

Write to us with the details on the right. We reply with your key, the mount template and a config sample. Ask us to send the key through a password manager or secret-sharing link, not plain email.

What to send us

  • Your company and a technical contact
  • The origin your server calls from, for example https://acme.com
  • The path where Dium should live, for example /learning/dium/
  • The actions you need, such as auth.issue_token or exhibit.create
  • The Flow or event IDs you will manage (your external_id values)

What we set up on our side

  • Your key and its scopes in our partner registry
  • Your origin on our CORS allowlist
  • Your host on our redirect allowlist
  • The mount template and config sample for your server

What is not here yet

Straight answers, so you can plan around the gaps.

You might expectStatus todayWhat to do instead
Self-serve API key pageNot builtKeys are issued by the Dium team on request.
SDKs (Node, Python, Go, Ruby)NoneUse plain HTTPS. The quickstart has copy-paste snippets for curl, Node, Python and PHP.
Outbound webhooksProposal onlyRead the webhooks page for what exists today and the draft design.
Sandbox or test modeNoneAsk for a second key and a test Flow you can delete.
OpenAPI file and try-it consoleNoneThe API reference is hand-written from the source.
Drop-in JavaScript widgetNoneMount the full app on your path. See widgets and embeds.

Developer docs

Quickstart

Your first successful call in a few minutes, with curl, Node, Python and PHP.

API reference

Auth headers, scopes, errors, rate limits and every partner action with its fields.

SSO and sign-in

The one-time token flow, cookie rules, redirect allowlists and server code in PHP and Node.

Widgets and embeds

Mount Dium on WordPress, React or any server, and what to do on hosted builders.

Webhooks

Real-time options that exist today, and a draft webhook design we want feedback on.

Brand and design

Logo, colours, type and voice rules for partners who show Dium on their site.

Tell us what you want to build.

Keys are issued by hand today, so every partner talks to a person who knows the code.