Skip to main content

Authentication

Host​

The base domain for the Real ID API is https://real-id.getverdict.com/api/v1.

All endpoints use this as the base URL.

API keys​

Real ID's REST API uses Bearer tokens for authentication.

You can find your token within the Real ID dashboard, under Settings > DevTools.

Once you have your API key, pass it into the Authorization header, and prefix the token with Bearer {{yourApiKey}}.

import axios from "axios";

// Send an ID check to John Smith at [email protected]
await axios.post(
"https://real-id.getverdict.com/api/v1/checks",
{
firstName: "John",
lastName: "Smith",
email: "[email protected]",
},
{
headers: {
Authorization: `Bearer ${yourApiKey}`,
},
}
);