API reference
API reference
The myid public API is a JSON API over HTTPS for server-to-server calls. It has one version, v1, and authenticates with API keys.
Base URL
Send every request to this base URL:
https://api.myid.ir/v1Request format
- Send JSON bodies with
Content-Type: application/json. A body can be up to 64 KB. - Authenticate every request with
Authorization: Bearerand your key. See Authentication. - Ids are strings. Dates are ISO 8601 in UTC, such as
2026-11-30T09:40:00.000Z. - Every response uses the same envelope. See Errors and Pagination.