viakite
Dashboard

API/Organizations/Accept an invite

Accept an invite

POST/v1/auth/invites/{token}/accept

Signed in: send no body. Without a session, email, password and name create the account and set the session cookie. A signed-in person may pass the invite's id (inv_…) instead of the token.

No key neededapi.vk.viabio.me

Path parameters

tokenstringrequired

Body

emailstring · email
passwordstring
namestring

Responses

The organization joined and the new member's id.

organizationobjectrequired
An organization.
Show 10 fields
idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
namestringrequired
slugstringrequired
Lower-case letters, digits and dashes, 3 to 40.
regionstringrequired
planstringrequired
requires_two_factorbooleanrequired
created_atstring · date-timerequired
A time in UTC, ISO 8601.
updated_atstring · date-timerequired
A time in UTC, ISO 8601.
deleted_atstring · date-time
A time in UTC, ISO 8601.
suspended_atstring · date-time | null
When Viakite staff suspended the organization; while set, its data is read-only (changes answer org_suspended).
member_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
Example response
1{
2 "organization": {
3 "id": "org_01JD8Q2M4W9XK3T7B5",
4 "name": "Production",
5 "slug": "acme",
6 "region": "us",
7 "plan": "free",
8 "requires_two_factor": true,
9 "created_at": "2026-11-21T09:30:00Z",
10 "updated_at": "2026-11-21T09:30:00Z",
11 "deleted_at": "2026-11-21T09:30:00Z",
12 "suspended_at": "2026-11-21T09:30:00Z"
13 },
14 "member_id": "mem_01JD8Q2M4W9XK3T7B5"
15}

Errors

Every error has the same shape: error.code, a message for people and details.

StatusCode
404invite_not_found
410invite_expired
403invite_email_mismatch
422signup_required
409already_member
402member_limit
422company_emails_only