List the domain owner's destinations
const url = 'https://api.nsin.ir/domains/example.com/email-routing/destinations/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.nsin.ir/domains/example.com/email-routing/destinations/ \ --header 'Authorization: Bearer <token>'The destinations a rule on this domain may forward to — the domain
OWNER’s account’s, whoever is asking. Requires domain.view.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The domain name (for example example.com) — not a numeric id.
Example
example.comResponses
Section titled “ Responses ”Destination list.
object
When the last verification mail went out.
Seconds until another verification mail may be sent; 0 when allowed now.
Rules and catch-alls pointing at it.
The receiving server’s last refusal, when forwards to it are bouncing.
Example generated
[ { "id": 1, "email": "example", "verified": true, "verified_at": "2026-04-15T12:00:00Z", "created_at": "2026-04-15T12:00:00Z", "last_sent_at": "2026-04-15T12:00:00Z", "resend_cooldown_seconds": 1, "in_use": 1, "last_failure": "example", "last_failure_at": "2026-04-15T12:00:00Z" }]Missing, malformed, revoked or expired API key — or the owning account is inactive.
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Examples
{ "error": "invalid API key"}No such domain, or it is not visible to this account. Domains you cannot access are reported as not found rather than forbidden.
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Example
{ "error": "read-only API key"}The key exceeded its request budget (300 requests per minute by default).
The single error shape used by every endpoint.
object
Human-readable description of what went wrong.
Examples
{ "error": "rate limit exceeded"}