Placeholder REST API

v1.0.0

Generic Postman collection for UAT testing.

Authentication

4 endpoints
POST/v1/auth/register

Register

lock

Requires Bearer token authentication.

Request body

application/json
{
  "name": "John Doe",
  "email": "john@example.com",
  "password": "Password123"
}

Responses

Successful response

null
boltTry it
env
POSThttps://api.example.com/v1/v1/auth/register

Request body

Code samples

curl -X POST 'https://api.example.com/v1/v1/auth/register' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "name": "John Doe",
  "email": "john@example.com",
  "password": "Password123"
}'
POST/v1/auth/login

Login

lock

Requires Bearer token authentication.

Request body

application/json
{
  "email": "john@example.com",
  "password": "Password123"
}

Responses

Successful response

null
boltTry it
env
POSThttps://api.example.com/v1/v1/auth/login

Request body

Code samples

curl -X POST 'https://api.example.com/v1/v1/auth/login' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "email": "john@example.com",
  "password": "Password123"
}'
POST/v1/auth/refresh

Refresh Token

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
POSThttps://api.example.com/v1/v1/auth/refresh

Request body

Code samples

curl -X POST 'https://api.example.com/v1/v1/auth/refresh'
POST/v1/auth/logout

Logout

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
POSThttps://api.example.com/v1/v1/auth/logout

Request body

Code samples

curl -X POST 'https://api.example.com/v1/v1/auth/logout'

Users

7 endpoints
GET/v1/users/me

Get Current User

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/users/me

Code samples

curl -X GET 'https://api.example.com/v1/v1/users/me'
PUT/v1/users/me

Update Profile

lock

Requires Bearer token authentication.

Request body

application/json
{
  "name": "Updated Name"
}

Responses

Successful response

null
boltTry it
env
PUThttps://api.example.com/v1/v1/users/me

Request body

Code samples

curl -X PUT 'https://api.example.com/v1/v1/users/me' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "name": "Updated Name"
}'
GET/v1/users

Get Users

lock

Requires Bearer token authentication.

Parameters

pagequerystringdefault:
limitquerystringdefault:

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/users

Query parameters

page
limit

Code samples

curl -X GET 'https://api.example.com/v1/v1/users'
POST/v1/users

Create User

lock

Requires Bearer token authentication.

Request body

application/json
{
  "name": "Jane",
  "email": "jane@example.com"
}

Responses

Successful response

null
boltTry it
env
POSThttps://api.example.com/v1/v1/users

Request body

Code samples

curl -X POST 'https://api.example.com/v1/v1/users' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "name": "Jane",
  "email": "jane@example.com"
}'
GET/v1/users/1

Get User

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/users/1

Code samples

curl -X GET 'https://api.example.com/v1/v1/users/1'
PUT/v1/users/1

Update User

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
PUThttps://api.example.com/v1/v1/users/1

Request body

Code samples

curl -X PUT 'https://api.example.com/v1/v1/users/1'
DELETE/v1/users/1

Delete User

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
DELETEhttps://api.example.com/v1/v1/users/1

Code samples

curl -X DELETE 'https://api.example.com/v1/v1/users/1'

Products

4 endpoints
GET/v1/products

Get Products

lock

Requires Bearer token authentication.

Parameters

pagequerystringdefault:
limitquerystringdefault:

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/products

Query parameters

page
limit

Code samples

curl -X GET 'https://api.example.com/v1/v1/products'
POST/v1/products

Create Product

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
POSThttps://api.example.com/v1/v1/products

Request body

Code samples

curl -X POST 'https://api.example.com/v1/v1/products'
PUT/v1/products/123

Update Product

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
PUThttps://api.example.com/v1/v1/products/123

Request body

Code samples

curl -X PUT 'https://api.example.com/v1/v1/products/123'
DELETE/v1/products/123

Delete Product

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
DELETEhttps://api.example.com/v1/v1/products/123

Code samples

curl -X DELETE 'https://api.example.com/v1/v1/products/123'

Orders

4 endpoints
GET/v1/orders

Get Orders

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/orders

Code samples

curl -X GET 'https://api.example.com/v1/v1/orders'
POST/v1/orders

Create Order

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
POSThttps://api.example.com/v1/v1/orders

Request body

Code samples

curl -X POST 'https://api.example.com/v1/v1/orders'
GET/v1/orders/1001

Get Order

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/orders/1001

Code samples

curl -X GET 'https://api.example.com/v1/v1/orders/1001'
PATCH/v1/orders/1001/cancel

Cancel Order

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
PATCHhttps://api.example.com/v1/v1/orders/1001/cancel

Request body

Code samples

curl -X PATCH 'https://api.example.com/v1/v1/orders/1001/cancel'

File Upload

1 endpoint
POST/v1/upload

Upload File

lock

Requires Bearer token authentication.

Request body

multipart/form-data
{
  "file": ""
}

Responses

Successful response

null
boltTry it
env
POSThttps://api.example.com/v1/v1/upload

Request body

Code samples

curl -X POST 'https://api.example.com/v1/v1/upload' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "file": ""
}'

Reports

2 endpoints
GET/v1/reports/dashboard

Dashboard

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/reports/dashboard

Code samples

curl -X GET 'https://api.example.com/v1/v1/reports/dashboard'
GET/v1/reports/analytics

Analytics

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/reports/analytics

Code samples

curl -X GET 'https://api.example.com/v1/v1/reports/analytics'

System

2 endpoints
GET/v1/health

Health

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/health

Code samples

curl -X GET 'https://api.example.com/v1/v1/health'
GET/v1/version

Version

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/version

Code samples

curl -X GET 'https://api.example.com/v1/v1/version'

Notifications

2 endpoints
GET/v1/notifications

Get Notifications

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/notifications

Code samples

curl -X GET 'https://api.example.com/v1/v1/notifications'
PATCH/v1/notifications/123/read

Mark Notification Read

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
PATCHhttps://api.example.com/v1/v1/notifications/123/read

Request body

Code samples

curl -X PATCH 'https://api.example.com/v1/v1/notifications/123/read'

Settings for Replace

2 endpoints
GET/v1/settings

Get Settings

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
GEThttps://api.example.com/v1/v1/settings

Code samples

curl -X GET 'https://api.example.com/v1/v1/settings'
PUT/v1/settings

Update Settings

lock

Requires Bearer token authentication.

Responses

Successful response

null
boltTry it
env
PUThttps://api.example.com/v1/v1/settings

Request body

Code samples

curl -X PUT 'https://api.example.com/v1/v1/settings'

API

1 endpoint
GET/api/v1/users

Creating a user | New Summary

Creates a new user account in the system.

The endpoint validates the request payload, checks for duplicate email addresses, hashes the user's password, and returns the newly created user object.

Authentication is required.

lock

Requires Bearer token authentication.

Headers

AuthorizationBearer {{token}}

Responses

New response

{
  "success": true,
  "message": "User created successfully.",
  "data": {
    "id": "65c82d1f9a0c1c3b9e012345",
    "name": "John Doe",
    "email": "john@example.com",
    "role": "user",
    "createdAt": "2026-07-20T12:00:00Z"
  }
}
boltTry it
env
GEThttps://api.example.com/v1/api/v1/users

Authorization

Authorization

Headers

Authorization

Code samples

curl -X GET 'https://api.example.com/v1/api/v1/users'