cargopanel logocargopanel for developers

Invite by E-mail

POSThttps://api.cargopanel.co/v1/integration/invitations
POSThttps://sandbox-api.cargopanel.co/v1/integration/invitations

Available on /v1 and /v2 with the same request and response.

Send an invitation e-mail to one of your customers. The e-mail contains a button that opens the cargopanel sign-up page (/register?invite=...). When the customer signs up there, the account is linked to you automatically. The invitation is single use and valid for 7 days. Sending a new invitation to the same address revokes the previous pending one.

The invitation token is not returned in this response; it only reaches the invited address. The customer must sign up with the same e-mail and the account is opened as verified.

Request Fields

emailstringrequired

The customer's e-mail address. It must not already have a cargopanel account.

targetstringoptional

The cargopanel sign-up page the e-mail opens:

  • app (default) — international shipping panel (https://app.cargopanel.co/register)
  • domestic — domestic shipping panel (https://domestic.cargopanel.co/register)

Example Response

201
{
  "success": true,
  "message": "[email protected] adresine davet gönderildi",
  "data": {
    "id": "48213907",
    "integratorUserId": "912473",
    "integrationId": "int_48213907",
    "type": "email",
    "email": "[email protected]",
    "target": "app",
    "status": "pending",
    "expiresAt": "2026-12-04T10:30:00.000Z",
    "createdAt": "2026-11-27T10:30:00.000Z",
    "updatedAt": "2026-11-27T10:30:00.000Z"
  }
}

Responses

201Invitation created and e-mail sent
400Invalid e-mail or target, or you invited yourself
401Unauthorized (invalid, inactive or expired API key)
409This e-mail already has a cargopanel account
429Too many requests (20/min)
500The e-mail could not be sent; the invitation was revoked, try again