These three endpoints issue and manage the credentials the DQE One Salesforce package uses to call the rest of the One API: a short-lived process token, an organization/user subscription (onboarding) flow, and a session token for the package's custom UI.
Send a JSON body to this endpoint with the DQE-Authorization header set.
{DOMAIN} is the domain of the server where your organization's own instance of the DQE One backend is installed — since this backend runs in your own infrastructure, this value is determined by your deployment, not issued by DQE. {DQE_AUTHORIZATION_KEY} is provided by DQE upon account/package setup; contact your DQE account manager to obtain it.
using var client = new HttpClient();
var json = "{\"orgId\":\"00D5e0000008abcEAA\",\"crt\":\"2026-10-28T10:15:00Z\",\"sub\":\"0055e00000AbCnoFAF\",\"aud\":\"dqe-unify-api\",\"urllogin\":\"https://login.salesforce.com\"}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
using var request = new HttpRequestMessage(HttpMethod.Post, "https://{DOMAIN}/getOAuthTokenForProcess");
request.Headers.Add("DQE-Authorization", "{DQE_AUTHORIZATION_KEY}");
request.Content = content;
var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
All fields are sent as a single JSON request body.
Note on Mandatory/Optional: the source OpenAPI specification does not declare a required array for this request body (only the body as a whole is marked required). All fields below are shown as Mandatory based on this project's documentation convention and because each one plays a defined role in the token-issuance flow — confirm actual optionality with DQE engineering before publishing.
Field
Description
Type
Mand / Opt
orgId
The Salesforce organization ID making the request.
String
Mandatory
crt
The created/issued-at timestamp claim for this signed request.
String
Mandatory
sub
The subject claim — the Salesforce user or session identifier issuing the request.
String
Mandatory
aud
The audience claim — the intended recipient/target service for this signed request.
String
Mandatory
urllogin
The Salesforce org's login URL.
String
Mandatory
Response
Returns a JSON object containing the process token.
Key
Description
Type
Token
The generated token, used to authenticate the subsequent process call.
String
Response example
Example token response
{
"Token": "token"
}
The source specification's only example value for Token is the literal placeholder string "token" — shown as-is above rather than replaced with an invented-looking value.
Errors
The source specification does not define any error responses (4xx/5xx) for this endpoint — only the 200 success response is documented. Confirm actual error behavior with DQE engineering before publishing.
Test the API
Click the button below to test this endpoint live in your browser.
Open console
Subscription - DQE One API
Registers a Salesforce organization or user and returns the credentials needed for subsequent authenticated calls. This looks like an org-onboarding/registration flow rather than a per-call authentication step.
Send a JSON body to this endpoint. No authentication header is required — the source specification declares an empty security requirement for this path.
{DOMAIN} is the domain of the server where your organization's own instance of the DQE One backend is installed — since this backend runs in your own infrastructure, this value is determined by your deployment, not issued by DQE.
using var client = new HttpClient();
var json = "{\"orgId\":\"00D5e0000008abcEAA\",\"groupId\":\"GRP-00123\",\"licence\":\"123456\",\"region\":\"EU\",\"key\":\"a1b2c3d4e5f6\"}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://{DOMAIN}/subscribe", content);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
All fields are sent as a single JSON request body.
Note on Mandatory/Optional: the source OpenAPI specification does not declare a required array for this request body (only the body as a whole is marked required). All fields below are shown as Mandatory based on this project's documentation convention — confirm actual optionality with DQE engineering before publishing.
Field
Description
Type
Mand / Opt
orgId
The Salesforce organization ID being registered.
String
Mandatory
groupId
Identifier of the licence group/package instance this organization is being subscribed under.
String
Mandatory
licence
The DQE licence code associated with this subscription.
String
Mandatory
region
The region or data center where this organization's DQE instance should be provisioned.
String
Mandatory
key
An activation or subscription key used to validate the registration request.
Inferred from the field name only — its exact purpose is not documented in the source specification.
String
Mandatory
Response
Returns a JSON object containing the credentials issued for this subscription.
Key
Description
Type
pwd
The password issued as part of the new credentials returned by this registration.
String
iss
The issuer identifier assigned to the newly registered organization/user — used as part of the credentials for subsequent authenticated calls.
String
issSecret
The secret paired with the issuer identifier. Store it securely; it authorizes subsequent calls.
String
crt
The created/issued-at timestamp for these credentials.
String
groupId
The group identifier confirmed for this subscription (echoes the request value).
The source specification gives no example values for this schema. The values above are illustrative placeholders only — no specific format or length is documented.
Errors
The source specification does not define any error responses (4xx/5xx) for this endpoint — only the 200 success response is documented. Confirm actual error behavior with DQE engineering before publishing.
Test the API
Click the button below to test this endpoint live in your browser.
Open console
Custom UI Session - DQE One API
Creates a session token for the DQE One package's embedded custom UI, scoped to a specific Salesforce session and user.
Send a JSON body to this endpoint with the DQE-Authorization header set.
{DOMAIN} is the domain of the server where your organization's own instance of the DQE One backend is installed — since this backend runs in your own infrastructure, this value is determined by your deployment, not issued by DQE. {DQE_AUTHORIZATION_KEY} is provided by DQE upon account/package setup; contact your DQE account manager to obtain it.
using var client = new HttpClient();
var json = "{\"orgId\":\"00D5e0000008abcEAA\",\"aud\":\"dqe-unify-api\",\"urllogin\":\"https://login.salesforce.com\",\"sub\":\"0055e00000AbCnoFAF\",\"name\":\"Jane Doe\",\"sessionId\":\"00D5e0000008abcEAA!AQEAQJ3x9fKZ\",\"licence\":\"123456\",\"region\":\"EU\",\"isPersonAccountEnable\":false,\"chatterId\":\"0D55e00000ABCDEFG\",\"setTokenToUi\":true}";
var content = new StringContent(json, Encoding.UTF8, "application/json");
using var request = new HttpRequestMessage(HttpMethod.Post, "https://{DOMAIN}/customUI/createTokenSession");
request.Headers.Add("DQE-Authorization", "{DQE_AUTHORIZATION_KEY}");
request.Content = content;
var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
All fields are sent as a single JSON request body.
Note on Mandatory/Optional: the source OpenAPI specification does not declare a required array for this request body (only the body as a whole is marked required). All fields below are shown as Mandatory based on this project's documentation convention — confirm actual optionality with DQE engineering before publishing.
Field
Description
Type
Mand / Opt
orgId
The Salesforce organization ID making the request.
String
Mandatory
aud
The audience claim — the intended recipient/target service for this signed request.
String
Mandatory
urllogin
The Salesforce org's login URL.
String
Mandatory
sub
The subject claim — the Salesforce user or session identifier issuing the request.
String
Mandatory
name
Display name associated with the session (for example, the Salesforce user's name).
String
Mandatory
sessionId
Identifier of the Salesforce session this custom UI token is bound to.
String
Mandatory
licence
The DQE licence code associated with this organization.
String
Mandatory
region
The region or data center of the Salesforce org or DQE instance.
String
Mandatory
isPersonAccountEnable
Whether Person Accounts are enabled in the calling Salesforce org.
Boolean
Mandatory
chatterId
Identifier of a Salesforce Chatter record (for example, a feed item) associated with this session.
Inferred from the field name only — its exact purpose is not documented in the source specification.
String
Mandatory
setTokenToUi
Whether the generated token should be written directly into the custom UI session, rather than only returned in the API response.
Inferred from the field name only.
Boolean
Mandatory
Response
Returns a JSON object describing the created custom UI session token.
Key
Description
Type
status
Outcome status of the session-creation request.
String
uuidToken
The generated session token, used to authenticate the custom UI session.
The field name suggests a UUID format, but this is not confirmed by the source specification.
String
name
Echoes the session/user name associated with the created token.
String
isUiLocal
Whether the custom UI session is running in local mode rather than against the hosted DQE environment.
Inferred from the field name only — not confirmed by the source specification.
The source specification gives no example values for this schema. The values above are illustrative placeholders only.
Errors
The source specification does not define any error responses (4xx/5xx) for this endpoint — only the 200 success response is documented. Confirm actual error behavior with DQE engineering before publishing.
Test the API
Click the button below to test this endpoint live in your browser.