Paid registrations for new user by invitation keys.
Features:
Features:
- Purchasing invite codes by guests (if permission set for guests group)
- Purchasing invites by existing users (if permission set)
- Adding free invite keys by existing users
- Paid/Free invite key creation/purchase limits trough permissions (1 key per x days )
- Configurable invite key usage limit trough permissions
- Logging the usage of invitations
- Invite key management & creation from ACP
[H1]Table of Contents[/H1]
Routes
Types
[H1]Routes[/H1]
[H2]registration-invite-logs[/H2]
[H3]GET registration-invite-logs/[/H3]
Gets the API list of registration invite usage log.
[H2]registration-invites[/H2]
[H3]GET registration-invites/[/H3]
Gets the API list of registration invites.
[H3]POST registration-invites/[/H3]
Creates the registration invite key.
[H3]GET registration-invites/{id}/[/H3]
Gets the API view for registration invite.
[H3]POST registration-invites/{id}/[/H3]
Edits the specified registration invite key.
[H3]DELETE registration-invites/{id}/[/H3]
Deletes the specified registration invite key.
Routes
- registration-invite-logs
- registration-invites
Types
[H1]Routes[/H1]
[H2]registration-invite-logs[/H2]
[H3]GET registration-invite-logs/[/H3]
Gets the API list of registration invite usage log.
Inputs | Type | Description |
---|---|---|
invite_id | integer | |
user_id | integer | |
invite_user_id | integer |
Outputs | Type | Description |
---|---|---|
logs | Log[] | |
pagination | pagination |
[H2]registration-invites[/H2]
[H3]GET registration-invites/[/H3]
Gets the API list of registration invites.
Inputs | Type | Description |
---|---|---|
user_id | integer |
Outputs | Type | Description |
---|---|---|
invites | Invite[] | |
pagination | pagination |
[H3]POST registration-invites/[/H3]
Creates the registration invite key.
Inputs | Type | Description |
---|---|---|
invite_key | integer | [req] |
active | bool | [req] |
end_date | integer | [req] |
Outputs | Type | Description |
---|---|---|
invite | mixed | Invite[] |
[H3]GET registration-invites/{id}/[/H3]
Gets the API view for registration invite.
Inputs | Type | Description |
---|---|---|
None. |
Outputs | Type | Description |
---|---|---|
invite | mixed | Invite[] |
[H3]POST registration-invites/{id}/[/H3]
Edits the specified registration invite key.
Inputs | Type | Description |
---|---|---|
invite_key | integer | |
active | bool | |
end_date | integer |
Outputs | Type | Description |
---|---|---|
invite | mixed | Invite[] |
[H3]DELETE registration-invites/{id}/[/H3]
Deletes the specified registration invite key.
Inputs | Type | Description |
---|---|---|
None. |
Outputs | Type | Description |
---|---|---|
success | true |