Docs

Type a word or a question. Esc closes the search.

Sign in Start free

Create an invitation

Creates an invitation for an email address with optional language, role and extra team.

POST https://app.upfour.io/v1/invites
POST https://app.upfour.io/v1/invites

A real request. Sending it changes data in your up4 account.

Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs member.write.
Body
More fields3
language Language of the invitation mail; omitted lets up4 pick from the invited person, the company and the inviter.
role The company role the person gets on accepting. Omitted or any other value invites as member.
Headers

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope member.write stable Idempotency-Key supported returns 201

Body

application/json required 4 fields

emailstring (email)required
In the app: Email address
All other fields3 fields
languagestring · nullable

Language of the invitation mail; omitted lets up4 pick from the invited person, the company and the inviter.

ende
rolestring

The company role the person gets on accepting. Omitted or any other value invites as member.

owneradminmemberviewer
In the app: Role
team_iduuid · nullable

An extra team to add the person to besides the default team.

In the app: Team

Returns

A successful request returns 201 with application/json.

Response fields 1 top-level fields
FieldTypeDescription
data Invite
Invite · 16 fields
FieldTypeDescription
created_at string (date-time)
email string
expired boolean Always false in these answers; compare expires_at with the current time.
expires_at string (date-time)
id uuid
invited_by uuid
organization_id uuid
role string one ofowneradminmemberviewereditor The company role; for a client portal invite (client_id set) the client member role viewer, editor or admin.
accepted_at string (date-time)
client_id uuid Set for a client portal invite, whose person only sees that client.
client_name string
inviter_email string
language string one ofende
org_name string
team_id uuid
team_name string

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
402 billing_action_unavailable The Company's billing state does not allow this action. When: A metered or limited action while the billing state, such as paused or without credit, blocks it; details holds the action and billing_state. Fix: Top up the credit or change the plan, then retry.
409 conflict The request conflicts with the current state.
403 permission_denied The credentials do not permit this action.
503 quota_gate_unavailable The limit check itself failed, so the action was not carried out. When: The quota service could not decide while the request ran. Fix: Retry in a moment; nothing was changed.
403 / 429 quota_limit_reached The protection limit for this action is used up; retry after the response's Retry-After delay. When: Counters and concurrency limits answer 429 with Retry-After, inventory and capacity limits answer 403; details holds purpose, limit and window. Fix: On 429 wait Retry-After seconds; on 403 free something up, request a higher limit where details.raise_request is true, or buy an extension. quota_limit_reached: the protection limit of this action is used up for now. error.details carries purpose, limit, window and retry_after_seconds; the Retry-After header says when the same request can succeed.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.