List forwarding addresses
Every forwarding address of the team, newest first, with status PENDING or VERIFIED.
GET
https://app.usenotix.dev/api/v1/forwarding-destinationsFull access and read only keys can call this. Sending access keys cannot. Key permissions lists the extra rules some calls have.
Every forwarding address of the team, newest first, with status PENDING or VERIFIED. Full access and read only keys can call it; a key limited to one domain cannot.
Headers
Authorizationstringrequired
Bearer followed by your API key.
Errors
403
`SCOPE_DENIED`: a send-only or live AI key. `DOMAIN_PINNED`: the key is limited to one domain.
Every error has the same shape. See all error codes.
curl -X GET "https://app.usenotix.dev/api/v1/forwarding-destinations" \
-H "Authorization: Bearer $NOTIX_API_KEY"
import { Notix } from "notix-js";
const notix = new Notix(process.env.NOTIX_API_KEY);
const { data, error } = await notix.forwarding.listDestinations();
Response200
{
"data": [
{
"id": "cm1x8f3k20001qz7v5b9d2e4a",
"email": "customer@example.com",
"status": "PENDING",
"verifiedAt": "string",
"expiresAt": "string",
"lastSentAt": "string",
"createdAt": "string"
}
]
}