Create gateway and API tokens
How to create, use, rotate and revoke tokens for site gateways, partner uploads and HL7 or FHIR order feeds.
Systems that send data to PacsPilot without a person signing in use a token. Owners and admins manage them on Settings › Gateways and tokens.
Kinds of token
| Kind | Use it for |
|---|---|
| Site gateway | An edge gateway at a site that forwards studies from your modalities |
| Partner upload (STOW-RS) | Another system that uploads studies with DICOMweb STOW-RS |
| Orders (HL7 / FHIR) | A RIS or EHR that sends HL7 or FHIR orders |
For a PacsPilot Agent you do not need a token: use Add agent on Sites instead.
Create a token
- Press Add token and choose the kind.
- Enter a Name that says what uses it.
- For a site gateway, paste the Client certificate SHA-256 shown by the gateway setup.
- For a partner upload token, tick Also allow study search (QIDO-RS) if the partner also needs to search studies.
- For an orders token, tick Also accept HL7 v3 and CDA documents if the sender uses them. Orders are matched to studies by accession number.
- Press Create token.
- Copy the token with Copy. It is not shown again.
For an orders token the dialog also lists the addresses to send to, with the token as an
Authorization: Bearer header.
The tokens table
Each row shows the Name, Kind, Scopes, Created, Last used and, for a site gateway, whether its gateway is Online or Offline.
- Learn field mappings (orders and site gateway tokens): PacsPilot learns each sender's HL7 field mapping and holds its messages until you confirm the mapping. See Confirm an HL7 mapping.
- Rotate certificate (site gateway tokens): enter the gateway's new client certificate. The old one stops working as soon as you save.
- Revoke: anything using the token stops working at once.
When an orders token exists, an Orders button takes you to the Orders page.
Keep tokens safe
Treat a token like a password. Store it only in the system that uses it, give each system its own token so you can revoke one without affecting others, and revoke tokens you no longer use. Every token created, rotated or revoked is recorded in the audit log.
Updated October 15, 2026. Signed in? The same article is in the app's help panel: press
?.