Health check endpoints
Varmply Backend API (0.1.0)
Varmply API – MVP backend for campaigns, wallets, authentication, and influencer participation.
Common error codes: - NOT_FOUND - Resource not found (404) - VALIDATION_ERROR - Input validation failed (400) - PERMISSION_DENIED - User lacks permission (403) - CONFLICT - Resource conflict (409) - UNAUTHORIZED - Authentication required (401) - INTERNAL_SERVER_ERROR - Unexpected server error (500)
Download OpenAPI description
Languages
Servers
Mock server
https://docs-staging.varmply.com/_mock/openapi/
Local development server
http://localhost:3000/
Staging environment
https://api-staging.varmply.com/
Production environment
https://api.varmply.com/
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/auth/register
- Local development serverhttp://localhost:3000/auth/register
- Staging environmenthttps://api-staging.varmply.com/auth/register
- Production environmenthttps://api.varmply.com/auth/register
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/auth/register \
-H 'Content-Type: application/json' \
-d '{
"emailAddress": "founder@example.com",
"password": "StrongPass123!"
}'Response
application/json
{ "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/auth/login
- Local development serverhttp://localhost:3000/auth/login
- Staging environmenthttps://api-staging.varmply.com/auth/login
- Production environmenthttps://api.varmply.com/auth/login
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/auth/login \
-H 'Content-Type: application/json' \
-d '{
"emailAddress": "founder@example.com",
"password": "StrongPass123!"
}'Response
application/json
{ "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/auth/refresh
- Local development serverhttp://localhost:3000/auth/refresh
- Staging environmenthttps://api-staging.varmply.com/auth/refresh
- Production environmenthttps://api.varmply.com/auth/refresh
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/auth/refresh \
-H 'Content-Type: application/json' \
-d '{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}'Response
application/json
{ "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/auth/verify-email/request
- Local development serverhttp://localhost:3000/auth/verify-email/request
- Staging environmenthttps://api-staging.varmply.com/auth/verify-email/request
- Production environmenthttps://api.varmply.com/auth/verify-email/request
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/auth/verify-email/request \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "ok": true }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/auth/verify-email/confirm
- Local development serverhttp://localhost:3000/auth/verify-email/confirm
- Staging environmenthttps://api-staging.varmply.com/auth/verify-email/confirm
- Production environmenthttps://api.varmply.com/auth/verify-email/confirm
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/auth/verify-email/confirm \
-H 'Content-Type: application/json' \
-d '{
"token": "abc123xyz...",
"userId": "550e8400-e29b-41d4-a716-446655440000"
}'Response
application/json
{ "ok": true }