Overview
Go Headless

Changelog

API Reference
Articles
Platform Overview
Work with Wix APIs
SDK Setup and Usage
REST Authentication
AI Tools

App Management
OAuth 2
App Billing
App Instance
App Permissions
Embedded Scripts
BI Event
Editor Deep Link
App Installations
Site Plugins
App Extensions
App Skills
App Tools
Companion Apps
Market Listing
App Invites

Business Solutions
eCommerce
Stores
Bookings
Meetings
Rentals
CMS
Events
Restaurants
Blog
Forum
Pricing Plans
Portfolio
Benefit Programs
Donations
Suppliers Hub
Gift Cards
Coupons

Assets
Media
HTTP Functions
Rich Content
Pro Gallery

CRM
Members & Contacts
Forms
Community
Communication
Loyalty Program
CRM

Business Management
AI Site-Chat
Analytics
App Installation
Async Job
Automations
Branches
Calendar
Captcha
Cookie Consent Policy
Custom Embeds
Data Extension Schema
Dashboard
FAQ App
Functions
Get Paid
Headless
Locations
Marketing
Multilingual
Notifications
Online Programs
Payments
Site Search
Secrets
Site Properties
Site URLs
SEO
Google Business Profile
Tags
Capital

Account Level
About Account Level APIs
Sites
Accounts
Resellers
Domains
B2B Site Management
Enterprise
Channels
Introduction
Eligibility
Account Code V1
Introduction
Sample Flows
Account Code Object
P
Bulk Delete Account Codes
P
Delete Account Code
P
Generate Account Invite Links
Studio Workspace
Premium
User Management
AI Credits
Git Codestore

Tools
Semantic Search
Dynamic Site Context

Site
Accessibility
Viewer

Mobile
Containers App

Wix Backoffice
Dev Center Platform
Identity

POST

Generate Account Invite Links


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Generates sign-in invite links that link your users' Wix accounts to your account.

Each invite link is a full sign-in URL that contains a one-time-use account code. For example, https://users.wix.com/signin?organizationId=<accountId>&organizationInviteCode=<code>. When a user opens the link and signs up or logs in to Wix, their account is linked to your account as a sub-account. Links in the same batch differ only by the value of the organizationInviteCode query parameter.

Your account must be set up by Wix as a Channel organization account. Otherwise, the call fails with ORGANIZATION_NOT_ELIGIBLE.

An account can have up to 5,000,000 active account codes, meaning codes that haven't been redeemed and haven't expired. If generating the batch would exceed this limit, the call fails and no account codes are created.

To delete account codes you no longer want to be redeemable, call Delete Account Code or Bulk Delete Account Codes.

The account the invite links are issued for is always the calling channel's own account, taken from the identity of the API key used to make the call. It's never taken from a value passed in the request.

Authentication

You can only call this method when authenticated as a Wix user or by using an account level API key.

Permission Scopes
Manage Channels Account Codes
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/channels-eligibility/v1/channels-eligibility/account-codes/generate-invite-links

Errors
401Unauthenticated

There is 1 error with this status code.

428Failed Precondition

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?