Look up an invite by its token
POST
/v1/invites/lookup
const url = 'https://api.wirevod.online/v1/invites/lookup';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"token":"example"}'};
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/invites/lookup \ --header 'Content-Type: application/json' \ --data '{ "token": "example" }'Unauthenticated. Unknown, expired, revoked and already-used tokens all
answer 404 invite_not_found.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
token
required
string
Examplegenerated
{ "token": "example"}Responses
Section titled “ Responses ”The invite is valid.
Media typeapplication/json
object
email
required
string format: email
role
required
string
tenant_name
required
string
expires_at
required
integer
Example
{ "email": "teammate@example.com", "role": "member", "tenant_name": "Acme Media", "expires_at": 1760604800000}The request was malformed or failed validation.
Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{ "error": "invalid_request", "code": "invalid_request", "message": "asset_id is required"}The resource does not exist in the tenant, or the route is unknown.
Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{ "error": "not_found", "code": "not_found", "message": "Asset not found"}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 }}Headers
Section titled “Headers”Retry-After
integer
Seconds to wait before retrying.