Skip to main content
API v2 is the recommended Dock API for new projects. It keeps the same core product model as v1 while improving consistency, bulk behavior, caching, error handling, and response metadata.

Endpoint families

Lookups

Resolve Discord IDs, Roblox IDs, verification status, and Premium alt detection.

Bulk lookups

Send arrays of IDs and receive ordered per-item results.

Verification sessions

Create sessions, redirect users, and read completion by polling or SSE.

Writes

Update links, remove links, and delete data in your API-key scope.

Response envelope

Every v2 JSON response uses one shape.

Envelope fields

number
required
HTTP status code mirrored in the response body.
object | array | null
Successful response payload. Present when the request succeeds.
string
Stable machine-readable error code. Present when the request fails.
string
Human-readable error message safe to log or show in developer tooling.
string
required
Request ID for support, logs, and debugging.
string
required
v2 implementation version. Current value is 2.0.0.
object
required
Active rate-limit context when available.
string
required
ISO 8601 timestamp generated by Dock.

Common error codes

Versioning

Use the URL version for API routing:
Dock also supports a dated contract header for compatible routes:
If the header is omitted, Dock currently defaults to 2026-01-01.

v1 migration notes

v1 returns route-specific response shapes. v2 always returns status, data or error, meta, and timestamp.
v1 error messages can vary by route. v2 uses stable error codes for client logic.
v2 makes resolved explicit and defaults it to false. Request resolved=true only when you need expanded profiles.
v2 bulk endpoints use POST bodies, preserve input order, and return per-item errors instead of failing the whole request for missing links.
v1 remains available for existing integrations. New work should use v2 unless you are maintaining an older client.