Resend an email invitation

POST https://chat.zulip.org/api/v1/invites/{invite_id}/resend

Resend an email invitation.

A user can only resend invitations that they can manage.

Usage examples

#!/usr/bin/env python3

import zulip

# Pass the path to your zuliprc file here.
client = zulip.Client(config_file="~/zuliprc")

# Resend email invitation.
result = client.call_endpoint(url=f"/invites/{invite_id}/resend", method="POST")
print(result)

curl -sSX POST https://chat.zulip.org/api/v1/invites/1/resend \
    -u BOT_EMAIL_ADDRESS:BOT_API_KEY

Parameters

invite_id integer required in path

Example: 1

The ID of the email invitation to be resent.


Response

Example response(s)

Changes: As of Zulip 7.0 (feature level 167), if any parameters sent in the request are not supported by this endpoint, a successful JSON response will include an ignored_parameters_unsupported array.

A typical successful JSON response may look like:

{
    "msg": "",
    "result": "success"
}

A typical failed JSON response for an invalid email invitation ID:

{
    "code": "BAD_REQUEST",
    "msg": "No such invitation",
    "result": "error"
}