MultiMemberGroupInvitationCreate creates an invitation to a multi-member group

POST /protocol/v1/MultiMemberGroupInvitationCreate

Body Required

  • group_pk string(byte)

Responses

  • 200

    A successful response.

    Hide response attribute Show response attribute object
    • group object
      Hide group attributes Show group attributes object
      • public_key string(byte)
      • secret string(byte)
      • secret_sig string(byte)
      • group_type string
        • GroupTypeUndefined: GroupTypeUndefined indicates that the value has not been set. Should not happen.
        • GroupTypeAccount: GroupTypeAccount is the group managing an account, available to all its devices.
        • GroupTypeContact: GroupTypeContact is the group created between two accounts, available to all their devices.
        • GroupTypeMultiMember: GroupTypeMultiMember is a group containing an undefined number of members.

        Values are GroupTypeUndefined, GroupTypeAccount, GroupTypeContact, or GroupTypeMultiMember. Default value is GroupTypeUndefined.

  • default

    An unexpected error response

    Hide response attributes Show response attributes object
    • error string
    • code integer(int32)
    • message string
    • details array[object]
      Hide details attributes Show details attributes array[object]
      • type_url string
      • value string(byte)
POST /protocol/v1/MultiMemberGroupInvitationCreate
curl \
 -X POST http://api.example.com/protocol/v1/MultiMemberGroupInvitationCreate \
 -d '{"group_pk":"string"}'
Request example
{
  "group_pk": "string"
}
Request examples
{
  "group_pk": "string"
}
Response examples (200)
{
  "group": {
    "public_key": "string",
    "secret": "string",
    "secret_sig": "string",
    "group_type": "GroupTypeUndefined"
  }
}
Response examples (200)
{
  "group": {
    "public_key": "string",
    "secret": "string",
    "secret_sig": "string",
    "group_type": "GroupTypeUndefined"
  }
}
Response examples (default)
{
  "error": "string",
  "code": 42,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}
Response examples (default)
{
  "error": "string",
  "code": 42,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}