/identity/v1/invite-codes
Retrieve a list of invite codes based on specified criteria
limit
string
The maximum number of invite codes to return (default 20, maximum 100).
startingAfter
string
The ID of the last invite code in the previous page of results. Results will start after this invite code
A list of invite codes
{
"data": {
"hasMore": true,
"items": [
{
"id": "string",
"code": "string",
"type": "PRIVATE_CHARGING",
"referenceId": "string",
"status": "ACTIVE",
"network": {
"id": "string"
},
"expirationDate": "2023-06-07T17:32:28Z",
"createdAt": "2023-06-07T17:32:28Z"
}
]
}
}
/identity/v1/invite-codes
Generate invite codes for private charging or price adjustment purposes.
type
string
referenceId
string
numberOfCodes
number
{
"type": "PRIVATE_CHARGING",
"referenceId": "string",
"numberOfCodes": 123.0
}
OK
{
"data": "string"
}
Was this page helpful?