Invite a member (returns a one-time link)
const url = 'https://api.wirevod.online/v1/members/invites';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"email":"teammate@example.com","role":"member"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.wirevod.online/v1/members/invites \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "teammate@example.com", "role": "member" }'Requires the admin scope. No email is sent: share the returned
link, which is shown only here and expires in 7 days. A pending
invite for the same address is revoked and replaced. An address that
already has a WireVoD account returns 409 email_in_use.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
Example
{ "email": "teammate@example.com", "role": "member"}Responses
Section titled “ Responses ”Invite created.
object
object
The inviting user; null when created with an API key.
Invite link for the invitee. It embeds the token in the URL fragment and is returned only once.
Example
{ "invite": { "id": "inv_01J9Z", "email": "teammate@example.com", "role": "member", "expires_at": 1760604800000, "created_at": 1760000000000, "created_by": "usr_01J9Z" }, "link": "https://portal.wirevod.online/invite#Zk3m0w2Qf9vQ1h8Yl0a7cT6uXbN4rP5sD1eG2jH3kLo"}The request was malformed or failed validation.
object
Example
{ "error": "invalid_request", "code": "invalid_request", "message": "asset_id is required"}Missing or invalid credentials.
object
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).
object
Example
{ "error": "forbidden", "code": "forbidden", "message": "Missing required scope: write"}The request conflicts with the resource’s current state.
object
Example
{ "error": "upload_in_progress", "code": "upload_in_progress", "message": "An upload is already in progress for this asset"}Too many requests in the current window.
object
Example
{ "error": "rate_limited", "code": "rate_limited", "message": "Too many requests", "details": { "retry_after": 60 }}Headers
Section titled “Headers”Seconds to wait before retrying.