Skip to content
Docs
Get early access

List pending invites

GET
/v1/members/invites
curl --request GET \
--url https://api.wirevod.online/v1/members/invites \
--header 'Authorization: Bearer <token>'

Requires the admin scope. Accepted, revoked and expired invites are omitted.

Pending invites, newest first.

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
email
required
string format: email
role
required
string
Allowed values: member admin
expires_at
required
integer
created_at
required
integer
created_by
required

The inviting user; null when created with an API key.

string | null
Example
{
"data": [
{
"id": "inv_01J9Z",
"email": "teammate@example.com",
"role": "member",
"expires_at": 1760604800000,
"created_at": 1760000000000,
"created_by": "usr_01J9Z"
}
]
}

Missing or invalid credentials.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "unauthorized",
"code": "unauthorized",
"message": "Authentication required"
}

The principal lacks the required scope or role (forbidden), the user must change their password before continuing (password_change_required), or the workspace is suspended (tenant_suspended; every request is refused until it is restored; contact support).

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "forbidden",
"code": "forbidden",
"message": "Missing required scope: write"
}

Too many requests in the current window.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "rate_limited",
"code": "rate_limited",
"message": "Too many requests",
"details": {
"retry_after": 60
}
}
Retry-After
integer

Seconds to wait before retrying.