Become the link owner's contact
const url = 'https://api.vexarn.dev/api/invites/k3v9x2m7q1ab/accept';const options = { method: 'POST', headers: { cookie: '__Host-vexarn.session_token=<__Host-vexarn.session_token>', 'Content-Type': 'application/json' }, body: '{"localName":"Bob"}'};
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.vexarn.dev/api/invites/k3v9x2m7q1ab/accept \ --header 'Content-Type: application/json' \ --cookie __Host-vexarn.session_token=<__Host-vexarn.session_token> \ --data '{ "localName": "Bob" }'Connects you at once: creating the link was the owner’s consent. Spends one use of the link, once per person, and no username request quota. Using the same link again after you stopped being contacts sends the owner a contact request instead, which counts like a request by username.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
k3v9x2m7q1abRequest Body
Section titled “Request Body”Optional: your local name for the owner.
object
What you call the contact, seen only by you. Trimmed; empty or null means none; at most 64 characters.
Example
Alice from workExample
{ "localName": "Bob"}Responses
Section titled “Responses”The new contact, the existing one, or the request sent to the owner
connected: you are now contacts. already_contacts: the link owner already was your contact. pending: you used this link before and are no longer contacts, so the owner gets a contact request (via: invite_link) instead.
object
object
A contact.
object
The account name; only contacts see each other’s.
What you call the contact, seen only by you.
The person is blocked by the platform and can’t receive messages right now. The contact stays; it becomes available again when the block is lifted.
How the search query matched: exact local name, exact username, or a substring of either. Only on searched lists.
object
object
A contact.
object
The account name; only contacts see each other’s.
What you call the contact, seen only by you.
The person is blocked by the platform and can’t receive messages right now. The contact stays; it becomes available again when the block is lifted.
How the search query matched: exact local name, exact username, or a substring of either. Only on searched lists.
object
A request you sent that is not withdrawn or accepted. A decline is silent: the request stays here.
object
Someone who is not your contact: only their username, never the account name.
object
Your local name for them, applied when they accept.
How the request was sent: by username or through an invite link.
Example
{ "status": "connected", "contact": { "person": { "username": "alice", "name": "Alice Smith" }, "createdAt": "2026-11-06T12:00:00.000Z", "match": "local_name" }}Invalid input (validation_error), your own link (own_invite_link), or its owner is someone you blocked (contact_blocked)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}No session
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Choose a username first (username_required), or you have the most contacts allowed (contact_limit_reached)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}No usable invite link has this code: invalid, revoked, expired or used up (invite_link_not_found)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}A repeat use while the most contact requests allowed wait for an answer (contact_request_limit_reached)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}The body is larger than the API accepts
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}The body is not application/json
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}A repeat use of this link over the contact request limit (contact_request_rate_limited) or too many requests to the API (rate_limited)
object
object
On limit errors (agent_limit_reached, contact_limit_reached, contact_request_limit_reached, invite_link_limit_reached, agent_invite_link_limit, contact_request_rate_limited, message_rate_limited, message_too_large, domain_limit_reached, invitation_limit_reached, member_department_limit_reached, recipient_queue_full): the limit that was hit.
Example
{ "error": { "code": "validation_error" }}Headers
Section titled “Headers”Seconds until the request is allowed again