Create a staff invitation
Creates or renews one Sailor staff invitation pinned to the credential’s workspace. Organization and subaccount identifiers are derived server-side and cannot be supplied by the caller.
Authentication
AuthorizationBearer
Workspace API key created in Sailor Settings > Integrations > API access.
Headers
Idempotency-Key
Unique retry key retained for 86400 seconds. Reusing it with different request data is rejected.
Request
This endpoint expects an object.
email
role
Allowed values:
team_ids
Response headers
X-Request-Id
Stable request identifier for support and observability.
RateLimit-Policy
Versioned structured quota policy. The syntax follows IETF RateLimit draft 11 and may evolve before standardization.
RateLimit
Current structured quota state for the authenticated credential.
Idempotent-Replayed
True when this exact response was replayed from a completed idempotency record.
Response
The tenant-pinned Sailor staff invitation is ready.
ok
staff_invite
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
413
Content Too Large Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
429
Too Many Requests Error
503
Service Unavailable Error