Skip to main content
Genie Access gives you fine-grained control over who can interact with a private Genie. Access is tracked in two ways:
  • Access grants — tokenised links with optional use-count limits and expiry dates, shareable with anyone.
  • Agent users — direct per-user access records tied to a specific HelpGenie account.
When a visitor requests access to a private Genie, an agent_access_requests record is created and the Genie owner can approve or deny it via resolve.

Actions

all

Returns all users who have been granted direct access to a Genie. Parameters Response

list

Returns access grant links (token-based access, not per-user). When no Genie is specified, returns grants for all genies you own. Parameters When neither id nor data.agentId is provided, non-admin users receive grants for all genies they own. Admin users receive all grants across the platform. Response
token is omitted for expired grants.

list-team-access

Returns direct per-user access records for a Genie, with profile data for each user. Parameters Response

create

Grants access to a user by email for a private Genie. If the email matches an existing HelpGenie account, the user is added to the Genie’s direct-access list immediately.
string
required
Genie UUID to grant access to.
string
required
Email address of the person to grant access.
Response201

invite

Sends email invitations to a batch of addresses. Each recipient gets a unique, one-use access link. If the email matches an existing HelpGenie account, that user is also added directly to the Genie’s access list. Up to 50 emails per call.
string
required
Genie UUID to invite people to.
string[]
required
List of email addresses to invite. Maximum 50. Invalid or duplicate addresses are silently ignored.
string
ISO 8601 expiry datetime for the access links. Omit for links that never expire.
string
Optional idempotency key for the invite batch. If omitted, one is generated automatically. Re-sending with the same campaignId skips already-delivered addresses.
Response
Each item in invited contains the email, whether the message was sent in this request (deliveredNow), and a state of "sent", "skipped" (already delivered), or "unknown" (delivery state unconfirmed).

update

Updates an existing access grant (use limit or expiry). Parameters Response

delete

Deletes an access grant link. Anyone using the link after deletion will lose access. Parameters Response

update-user

Updates the expiry date for a specific user’s direct access to a Genie.
string
required
Genie UUID.
string
required
User UUID whose access to update.
string
New expiry datetime (ISO 8601), or null to make access permanent.
Response

delete-user

Revokes a specific user’s direct access to a Genie.
string
required
Genie UUID.
string
required
User UUID to revoke access for.
Response

requests

Returns all inbound access requests for a Genie (visitors who clicked “Request access”). Parameters Response

resolve

Approves or denies an access request. On approval, the requester receives an email with an access link and (if they have a HelpGenie account) is added to the Genie’s direct-access list.
string
required
Access request ID (numeric, from the requests action).
string
required
"approved" or "denied".
string
Expiry for the granted access (approval only). Omit for permanent access.
Response

Error codes