Get Invite

Retrieve an invite’s information by its code.

Inputs

Invite Code

Code of the invite to retrieve.

Example: ntcSNCjqWr

Outputs

Invite Code

The invite code. This is the part after discord.gg/.

Example: ntcSNCjqWr

Server ID

The ID of the server that the invite is in.

Example: 123456789012345678

Channel ID

The ID of the channel that the invite is for.

Example: 123456789012345678

Channel Name

The name of the channel that the invite is for.

Example: general

Invite Creator User ID

The ID of the user who created the invite.

Example: 123456789012345678

Invite Creator Username

The username of the user who created the invite.

Example: super_cool_user

Approximate Member Count

An approximate count of how many members are in the server that the invite is from.

Example: 1469

Approximate Presence Count

An approximate count of how many members are online in the server that the invite is from.

Example: 297

Expires At (Unix)

The Unix timestamp when the invite will expire. The block will return 0 if it will not expire.

Example: 1731886315 or 0 (never)