Skip to main content
POST
cURL

Headers

Authorization
string
required

Bearer token. Format: Bearer <api_key>

Idempotency-Key
string

Unique key per logical operation. UUID v4 recommended. Max 255 characters.

Body

application/json

Request body for POST /v1/referral-invites.

email
string
required

Email address of the customer you are sending to Nxos. Only this email can sign up with the link.

Response

The request has succeeded.

A sign-up link for one customer, locked to the email it was issued for.

object
enum<string>
required

Object type. Always referral_invite.

Available options:
referral_invite
referralInviteId
string
required

Unique identifier of the invite.

email
string
required

The email the link is locked to.

url
string
required

Sign-up link to send the customer to. The email is pre-filled and cannot be changed; the customer confirms it by email, and the new organization is attributed to you as its referrer.

expiresAt
string
required

ISO 8601 timestamp after which the link no longer works. Requesting the link again for the same email renews it.

createdAt
string
required

ISO 8601 timestamp of when the invite was first issued.