Invite employee

Sends a team invitation via email. Requires account owner key with team:manage permission.

POST /team/invitations

Parameters

NameTypeRequiredDescription
email string yes Invitee's email. If this person is already on the team, a 409 error will occur.
role string no Role: staff (default) or admin. The owner role cannot be assigned via API.

Important to know

Request example

curl -X POST https://api.shippickup.com/v1/team/invitations \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY" \
  -H "Idempotency-Key: order-10452-label-v1" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "new.person@example.com",
    "role": "staff"
}'

Response example 201

JSON
{
    "data": {
        "id": "2f9b6d0c8e1a4573b4c2a9e6d8",
        "email": "new.person@example.com",
        "role": "staff",
        "expires_at": "2026-12-11T10:15:30+00:00",
        "created_at": "2026-12-04T10:15:30+00:00"
    }
}

Possible errors

HTTPCodeDescription
403test_key_cannot_buyTest key does not purchase labels or order pickups, use a live key.
403owner_key_requiredКомандой может управлять только ключ, созданный владельцем аккаунта.
422validation_failedError in request fields. error.details specifies the reason for each field.
409conflictAction is currently not possible for this order (e.g., order cannot be canceled or pickup already ordered). Reason text in error.message.
503provider_unavailableThe carrier is temporarily unavailable. Please try again later.
422idempotency_key_requiredMissing or invalid Idempotency-Key header: must be 16–64 characters A-Za-z0-9_-.
422idempotency_key_reusedЭтот Idempotency-Key уже использован для другого запроса: для нового запроса нужен новый ключ.
403insufficient_scopeKey lacks the required permission, specified in error.details.required_scope.
429rate_limitedKey request limit exceeded. Retry after the time specified in the Retry-After header.

Full list of error codes →