Invites
Issue a partner invite
Issue a partner invite and send its email.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.ethiack.com/v1/invites/partner/" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "partner_id": 0, "role": "owner" }'{
"id": 0,
"kind": "organization",
"email": "string",
"status": "pending",
"created_at": "2019-08-24T14:15:22Z",
"expires_at": "2019-08-24T14:15:22Z",
"resolved_at": "2019-08-24T14:15:22Z",
"redeemed_by_user_id": "string",
"expired": true,
"live": true,
"partner_id": 0,
"role": "owner"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}