Skip to content

Resend the verification mail

POST
/email-routing/destinations/{destinationId}/resend
curl --request POST \
--url https://api.nsin.ir/email-routing/destinations/1/resend \
--header 'Authorization: Bearer <token>'

Issues a fresh link for an unverified destination. Subject to the same cooldown and hourly caps as create.

destinationId
required
integer

Numeric id of the email destination, from the destination list.

Sent; how long until the next resend is allowed.

Media type application/json
object
resend_cooldown_seconds
integer
Example generated
{
"resend_cooldown_seconds": 1
}

The destination is already verified.

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Example
{
"error": "read-only API key"
}

Missing, malformed, revoked or expired API key — or the owning account is inactive.

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example invalidKey
{
"error": "invalid API key"
}

No such destination on your account.

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Example
{
"error": "read-only API key"
}

The per-key rate limit, a verification mail to this destination less than a minute ago (cooldownSecondsRemaining), or the account’s or your address’s hourly send cap.

Media type application/json
object
error
required

Human-readable description of what went wrong.

string
cooldownSecondsRemaining
integer
Example
{
"error": "read-only API key"
}