2 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

GroupInvitation — openapi

An invitation to join a group.

Properties

NameTypeRequiredDescription
idstringtrueThe invitation id. Stringified because it can exceed the 2^53-1 JSON number limit.
groupIdintegertrueThe group the invitation is for.
recipientUserIdintegertrueThe invited user.
senderUserIdintegertrueThe user who sent the invitation.
status#/components/schemas/GroupInvitationStatustrue
roleIdsarraytrueEvery group role id attached to the invitation.
updatedAtstringtrueWhen the invitation was last updated (UTC).

Complete Schema

{
  "required": [
    "groupId",
    "id",
    "recipientUserId",
    "roleIds",
    "senderUserId",
    "status",
    "updatedAt"
  ],
  "type": "object",
  "properties": {
    "id": {
      "minLength": 1,
      "type": "string",
      "description": "The invitation id. Stringified because it can exceed the 2^53-1 JSON number limit."
    },
    "groupId": {
      "type": "integer",
      "description": "The group the invitation is for.",
      "format": "int64"
    },
    "recipientUserId": {
      "type": "integer",
      "description": "The invited user.",
      "format": "int64"
    },
    "senderUserId": {
      "type": "integer",
      "description": "The user who sent the invitation.",
      "format": "int64"
    },
    "status": {
      "$ref": "#/components/schemas/GroupInvitationStatus"
    },
    "roleIds": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "Every group role id attached to the invitation."
    },
    "updatedAt": {
      "type": "string",
      "description": "When the invitation was last updated (UTC).",
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "description": "An invitation to join a group."
}