Pangolin icon

Pangolin

Interact with the Pangolin API

Actions142

Organization → Create an invite for a user to join an organization.

AI-generated

Summary

Create an invitation for a user to join a specific organization by sending a POST request to the endpoint /org/{orgId}/create-invite.

Inputs

  • Org ID (required) — The unique identifier of the organization to which the invite will be created.
  • Body (required) — A JSON object specifying the invite details such as the user's email, role ID, validity period in hours, whether to send an email, and whether to regenerate the invite if it exists.
  • Options — Optional parameters including 'Raw Response' to control the format of the response data returned from the API.

Output shape

a single JSON object representing the invite creation response data.

The output is either the full raw response or the parsed JSON object depending on the 'Raw Response' flag option. On errors, an error message is returned. No pagination applies.

Discussion