Skip to main content
POST
Create Invite

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Body

application/json

Create invite payload

roleId
string<uuid>
required

Role identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

phoneDdi
string
required

International dialing code

Example:

"55"

phoneNumber
string
required

Phone number without country code

Example:

"99999999999"

organizationId
string<uuid> | null

Organization identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

email
string<email> | null

Invitee email

Example:

"novo@example.com"

phoneIso
string

Phone ISO country code

Example:

"BR"

Response

Created

Invite

inviteId
string<uuid>
required

Invite identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

type
enum<string>
required

Invite type

Available options:
MEMBER,
EMPLOYEE,
DRIVER
Example:

"MEMBER"

invitedByUserId
string<uuid>
required

Issuer user identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

organizationId
string<uuid> | null
required

Organization identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

token
string
required

Invite token

Example:

"a1b2c3d4e5f6"

phoneIso
any
required

Phone ISO country code

Example:

"BR"

phoneDdi
any
required

International dialing code

Example:

"55"

phoneNumber
any
required

Phone number without country code

Example:

"99999999999"

expiresAt
string<date-time>
required

Expires at

Example:

"2026-01-08T00:00:00.000Z"

createdAt
string<date-time>
required

Created at

Example:

"2026-01-01T00:00:00.000Z"

invitedBy
object
required

User

organization
object | null
required

Organization

invitedUserId
string<uuid> | null

Invited user identifier

Example:

null

employeeId
string<uuid> | null

Employee identifier

Example:

null

employee
object | null

Invited employee

roleId
string<uuid> | null

Role identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

transportOperatorId
string<uuid> | null

Transport operator identifier

Example:

null

transportOperator
object | null

Transport operator

email
any | null

Invitee email

Example:

"novo@example.com"

createdBy
string<uuid> | null

Created by

Example:

null

updatedBy
string<uuid> | null

Updated by

Example:

null

acceptedAt
string<date-time> | null

Accepted at

Example:

null

revokedAt
string<date-time> | null

Revoked at

Example:

null

rejectedAt
string<date-time> | null

Rejected at

Example:

null

invitedUser
object | null

User

role
object | null

Role