API reference · Organizations
Make a one time invite link
POST/api/orgs/{id}/invite-linksSigned in session
Grants member or billing only; an admin or owner is invited by wallet address. The link is returned once. At most 20 open links per crew.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | integer | The crew's id. |
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| role | string | One of "member", "billing". |
Example
{
"role": "member"
}Answer 201
The link, shown once.
| Field | Type | What it is |
|---|---|---|
| id | integer | |
| url | string | |
| role | string | |
| expiresAt | integer |
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 403OpenAI shaped error.
- 409OpenAI shaped error.
- 429OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.