Sub-resellers

Invite a sub-reseller

POST
/v1/sub-resellers/invitations

Mails a single-use link that lets the invitee sign up as a reseller of their own, priced from the given list (unset, your default list). One level deep: an account that is itself a sub-reseller cannot invite another.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Request Body

application/json
  1. body
email*string
Formatemail
Lengthlength <= 254
name*string
Length1 <= length <= 200
priceListId?string

Unset, your default list

Response Body

Created

application/json
  1. response

Created

id*string
email*string
name*string
priceListId*|

Unset, the parent default price list

expiresAt*string

ISO 8601 timestamp

Formatdate-time
createdAt*string

ISO 8601 timestamp

Formatdate-time
curl -X POST "https://example.com/v1/sub-resellers/invitations" \  -H "Content-Type: application/json" \  -d '{    "email": "[email protected]",    "name": "Sub Reseller Co"  }'
{  "id": "sri_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",  "email": "[email protected]",  "name": "Sub Reseller Co",  "priceListId": "prl_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",  "expiresAt": "2026-10-07T11:04:31.000Z",  "createdAt": "2026-10-07T11:04:31.000Z"}