curl "https://apx.didit.me/auth/v2/organizations/me/$ORG_ID/applications/$APP_ID/" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
resp = requests.get(
f"https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/",
headers={"Authorization": f"Bearer {access_token}"},
timeout=10,
)
resp.raise_for_status()
app = resp.json()
api_key = app["api_key"] # use as x-api-key on verification.didit.meconst resp = await fetch(
`https://apx.didit.me/auth/v2/organizations/me/${orgId}/applications/${appId}/`,
{ headers: { Authorization: `Bearer ${accessToken}` } },
);
if (!resp.ok) throw new Error(`Get app failed: ${resp.status}`);
const app = await resp.json();
const apiKey = app.api_key; // use as x-api-key on verification.didit.me<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"uuid": "b2c3d4e5-6789-01bc-defg-222222222222",
"name": "My App",
"client_id": "S9LIYGSoWNuGMLHsvEt9dQ",
"api_key": "05mHcOWL8GathLZlz8oIDawYj9qFAcoSHtz-75PAkuo",
"website_url": "https://example.com",
"redirect_uris": [
"https://example.com/callback"
],
"terms_url": "https://example.com/terms",
"privacy_url": "https://example.com/privacy",
"description": "Production application",
"created_at": "2025-06-01T10:00:00Z"
}{
"detail": "Invalid access token"
}{
"detail": "You do not have permission to perform this action."
}{
"detail": "Not found."
}Get Application Credentials
Read one application’s full record including client_id and api_key. Use this to recover a lost api_key.
curl "https://apx.didit.me/auth/v2/organizations/me/$ORG_ID/applications/$APP_ID/" \
-H "Authorization: Bearer $ACCESS_TOKEN"import requests
resp = requests.get(
f"https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/",
headers={"Authorization": f"Bearer {access_token}"},
timeout=10,
)
resp.raise_for_status()
app = resp.json()
api_key = app["api_key"] # use as x-api-key on verification.didit.meconst resp = await fetch(
`https://apx.didit.me/auth/v2/organizations/me/${orgId}/applications/${appId}/`,
{ headers: { Authorization: `Bearer ${accessToken}` } },
);
if (!resp.ok) throw new Error(`Get app failed: ${resp.status}`);
const app = await resp.json();
const apiKey = app.api_key; // use as x-api-key on verification.didit.me<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apx.didit.me/auth/v2/organizations/me/{org_id}/applications/{app_id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"uuid": "b2c3d4e5-6789-01bc-defg-222222222222",
"name": "My App",
"client_id": "S9LIYGSoWNuGMLHsvEt9dQ",
"api_key": "05mHcOWL8GathLZlz8oIDawYj9qFAcoSHtz-75PAkuo",
"website_url": "https://example.com",
"redirect_uris": [
"https://example.com/callback"
],
"terms_url": "https://example.com/terms",
"privacy_url": "https://example.com/privacy",
"description": "Production application",
"created_at": "2025-06-01T10:00:00Z"
}{
"detail": "Invalid access token"
}{
"detail": "You do not have permission to perform this action."
}{
"detail": "Not found."
}Authorizations
RS256-signed JWT access_token returned by POST /programmatic/login/ or POST /programmatic/verify-email/. Send as Authorization: Bearer <access_token>. Default lifetime is 86400 seconds (24h). This token is only valid against the Account Management endpoints on apx.didit.me/auth/v2. The verification API (verification.didit.me/v3) uses the long-lived api_key as x-api-key instead.
Path Parameters
UUID of the organization that owns the application.
"a1b2c3d4-5678-90ab-cdef-111111111111"
UUID of the application whose credentials you want to read.
"b2c3d4e5-6789-01bc-defg-222222222222"
Response
Application record including its client_id and api_key.
Full application record. uuid, client_id, and api_key never change after creation.
Application UUID. Use as {app_id} in subsequent calls.
"b2c3d4e5-6789-01bc-defg-222222222222"
Application display name shown in the Didit console.
"Acme Production App"
Public client identifier, safe to embed in OAuth-style flows.
"S9LIYGSoWNuGMLHsvEt9dQ"
Long-lived secret (also called client_secret). Use as the x-api-key header for every call to https://verification.didit.me/v3/... (sessions, workflows, AML, etc.). Treat as a credential; never expose client-side.
"05mHcOWL8GathLZlz8oIDawYj9qFAcoSHtz-75PAkuo"
Website or app URL associated with this application.
"https://acme.example"
Allowed redirect URIs for OAuth-style and verification redirect flows.
["https://acme.example/callback"]
Terms of service URL shown in the verification flow.
"https://acme.example/terms"
Privacy policy URL shown in the verification flow.
"https://acme.example/privacy"
Internal description for the application (not shown to end users).
"2025-06-01T10:00:00Z"