Operation

POST /users/{id}/resend_invitation

Re-sends the referral invitation email to the user. Admin-only. MCP service accounts and users without email are rejected.

Operation ID: resendUserInvitation · Tags: Users

Parameters

Name In Required Type Description
id path Yes integer

Request Body

No request body is defined for this operation.

Responses

Content Types

  • application/json
{
  "description": "Invitation email sent",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "additionalProperties": true
          },
          "meta": {
            "type": "object",
            "properties": {
              "invitation_sent_to": {
                "type": "string",
                "format": "email"
              },
              "inviter_id": {
                "type": "integer"
              }
            }
          }
        }
      }
    }
  }
}

{
  "$ref": "#/components/responses/Unauthorized"
}

{
  "$ref": "#/components/responses/Forbidden"
}

{
  "$ref": "#/components/responses/NotFound"
}

Content Types

  • application/json
{
  "description": "Unprocessable (missing email, MCP service account)",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

API Playground

The in-page tester only supports GET. For POST, use the sample curl below or the dedicated resource docs (e.g. Contacts, Link Builder). Sign in to enable live testing with your API key.

Action Method Endpoint Description
Resend an invitation email POST /api/v1/users/1/resend_invitation OpenAPI operationId: resendUserInvitation.

Example request (replace YOUR_API_KEY or sign in above):

curl -X POST "https://app.hienergy.ai/api/v1/users/1/resend_invitation" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Accept: application/json"
  -H "Content-Type: application/json" \
  -d '{}'
Ask Dex AIIntegration help

If this page feels TLDR, ask Dex AI.

Dex AI speaks your language, and all the other languages you may not. It will write the integration for you with the right endpoint and headers in one plain-English answer.