ArchAstro.V1.Invites (archastro v0.2.0)

Copy Markdown

Invite API resource.

Summary

Functions

Accept an invite

Functions

accept(client, input)

Accept an invite

Accepts an invite on behalf of the authenticated user and adds them to the associated team or thread. The invite key is passed in the request body rather than the URL so it never appears in access logs, Referer headers, or error-reporter URL captures.

This endpoint requires an authenticated end-user session. S2S secret-key tokens and unauthenticated requests are rejected with 401. If the authenticated user is already a member of the invite's target, the request returns 409. Both per-IP and per-user rate limits apply; exceeding either returns 429.

The accepted invite, including its ID, key, metadata, optional thread scope, creator, and creation timestamp.