Skip to main content
POST
Create Point

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 point payload

name
string
required

Point name

Example:

"São Paulo"

description
string | null

Additional description

Example:

"Terminal Rodoviário Tietê"

lat
number | null

Latitude

Required range: -90 <= x <= 90
Example:

-23.5155

lng
number | null

Longitude

Required range: -180 <= x <= 180
Example:

-46.6254

Response

Created

Point

pointId
string<uuid>
required

Point identifier

Example:

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

name
string
required

Point name

Example:

"São Paulo"

createdAt
string<date-time>
required

Created at

Example:

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

updatedAt
string<date-time>
required

Updated at

Example:

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

description
string | null

Additional description

Example:

"Terminal Rodoviário Tietê"

lat
number | null

Latitude

Required range: -90 <= x <= 90
Example:

-23.5155

lng
number | null

Longitude

Required range: -180 <= x <= 180
Example:

-46.6254

createdBy
string<uuid> | null

Created by

Example:

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

updatedBy
string<uuid> | null

Updated by

Example:

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

deletedBy
string<uuid> | null

Deleted by

Example:

null