Generates the invitation ID and authorization code for a Circle invitation.


The Circle that the Invite is for, and whether you are adding another of your own devices (isAddDevice = true) or a new member. 


InviteInfo, which consists of an Invite ID and an authorization code.

API Definition

public async Task<GenInviteReply> GenInvite(GenInviteRequest request)

C# Structures:

public class GenInviteRequest


  public string CircleId;

  public Boolean IsAddDevice;


public class GenInviteReply


  public ReturnStatus Status;

  public InviteInfo Invite;


C# Example code:

public void GenerateInvite(string circleId, Boolean isJoin)


  GenInviteRequest request = new GenInviteRequest() {CircleId = circleId, IsAddDevice = isJoin };

  GenInviteReply reply = _circle.GenInvite(request);