Ethiack Docs
Organizations

Invite a member to the organization

POST
/v1/organizations/{organization_id}/invites/

Issue a member invite and send its email.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

organization_id*integer

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/organizations/0/invites/" \  -H "Content-Type: application/json" \  -d '{    "email": "[email protected]",    "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,
  "organization_id": 0,
  "role": "owner"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}