Create invite token
Generate a secure invite link to grant team members access to your profiles. Invites expire after 7 days and are single-use.
Returns 403 when a requested profile is not found or not owned, or when called with a restricted (zrk_) API key: invite management is admin-plane.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.invites.createInviteToken({ body: { scope: 'all', },});console.log(data);{ "token": "inv_abc123def456ghi789", "scope": "profiles", "invitedProfileIds": [ "64f0a1b2c3d4e5f6a7b8c9d0", "64f0a1b2c3d4e5f6a7b8c9d1" ], "disabledResourceGroups": [], "expiresAt": "2024-11-08T10:30:00Z", "inviteUrl": "https://zernio.com/invite/inv_abc123def456ghi789"}Get user
Returns a single user's details by ID, including name, email, and role.
Open the creator's Stripe dashboard
Returns a one-time link into the creator's Stripe Express dashboard, where they change bank details and see each payout. Only after the creator submitted their payout details. About 20 attempts per participant every 10 minutes.