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)
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/me
- Local development serverhttp://localhost:3000/me
- Staging environmenthttps://api-staging.varmply.com/me
- Production environmenthttps://api.varmply.com/me
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs-staging.varmply.com/_mock/openapi/me \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'User snapshot retrieved successfully
Email verification status
Whether the email has been verified (true if emailVerifiedAtTimestamp is not null)
User roles (ARTIST, BRAND, INFLUENCER, or ADMIN)
Overall onboarding status
Array of missing requirements that prevent onboarding completion
Whether user has creator role (INFLUENCER only)
Whether user has sponsor role (BRAND or ARTIST)
Whether basic account setup is complete
Whether user is ready to participate in campaigns as creator
Array of platform integration capabilities
Social platform identifier
Current capability state of the integration
Platform-specific capability flags
Machine-readable reason code for the current status
Human-readable message explaining the current status
ISO timestamp of user creation
{ "userId": "user_123", "emailAddress": "user@example.com", "emailVerificationStatus": "UNVERIFIED", "emailVerified": false, "roles": [ "ARTIST" ], "onboarding": { "status": "INCOMPLETE", "missing": [ … ], "roleFlags": { … }, "readiness": { … }, "nextStep": "select_role" }, "profile": { "displayName": "", "profilePhotoUrl": null }, "connectedPlatforms": [ { … }, { … } ], "createdAtTimestamp": "2025-01-01T00:00:00.000Z", "lastUpdatedAtTimestamp": "2025-01-01T00:00:00.000Z" }
Request
Updates creator profile fields (displayName, profilePhotoUrl). This endpoint is for creators (INFLUENCER role) to manage their personal profile information. Both fields are optional, but required for creator marketplace readiness.
Validation rules:
- displayName: 2-40 characters, trimmed, cannot be only whitespace
- profilePhotoUrl: Must be a valid HTTPS URL, or null to clear
For creators (INFLUENCER role), both displayName and profilePhotoUrl are required for marketplace readiness. Updating these fields will update the onboarding status.
User display name (2-40 characters, trimmed)
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/me/profile
- Local development serverhttp://localhost:3000/me/profile
- Staging environmenthttps://api-staging.varmply.com/me/profile
- Production environmenthttps://api.varmply.com/me/profile
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs-staging.varmply.com/_mock/openapi/me/profile \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"displayName": "John Doe",
"profilePhotoUrl": "https://example.com/photo.jpg"
}'Profile updated successfully. Returns updated /me response with onboarding status.
Email verification status
Whether the email has been verified (true if emailVerifiedAtTimestamp is not null)
User roles (ARTIST, BRAND, INFLUENCER, or ADMIN)
Overall onboarding status
Array of missing requirements that prevent onboarding completion
Whether user has creator role (INFLUENCER only)
Whether user has sponsor role (BRAND or ARTIST)
Whether basic account setup is complete
Whether user is ready to participate in campaigns as creator
Array of platform integration capabilities
Social platform identifier
Current capability state of the integration
Platform-specific capability flags
Machine-readable reason code for the current status
Human-readable message explaining the current status
ISO timestamp of user creation
{ "userId": "user_123", "emailAddress": "user@example.com", "emailVerificationStatus": "VERIFIED", "emailVerified": true, "roles": [ "INFLUENCER" ], "onboarding": { "status": "COMPLETE", "missing": [], "roleFlags": { … }, "readiness": { … }, "roleReadiness": { … }, "nextStep": "done" }, "profile": { "displayName": "John Doe", "profilePhotoUrl": "https://example.com/photo.jpg" }, "connectedPlatforms": [], "createdAtTimestamp": "2025-01-01T00:00:00.000Z", "lastUpdatedAtTimestamp": "2025-01-01T00:00:00.000Z" }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/me/settings
- Local development serverhttp://localhost:3000/me/settings
- Staging environmenthttps://api-staging.varmply.com/me/settings
- Production environmenthttps://api.varmply.com/me/settings
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs-staging.varmply.com/_mock/openapi/me/settings \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"timezone": "America/New_York",
"notifications": {}
}'Settings updated successfully
Email verification status
Whether the email has been verified (true if emailVerifiedAtTimestamp is not null)
User roles (ARTIST, BRAND, INFLUENCER, or ADMIN)
Overall onboarding status
Array of missing requirements that prevent onboarding completion
Whether user has creator role (INFLUENCER only)
Whether user has sponsor role (BRAND or ARTIST)
Whether basic account setup is complete
Whether user is ready to participate in campaigns as creator
Array of platform integration capabilities
Social platform identifier
Current capability state of the integration
Platform-specific capability flags
Machine-readable reason code for the current status
Human-readable message explaining the current status
ISO timestamp of user creation
{ "userId": "user_123", "emailAddress": "user@example.com", "emailVerificationStatus": "UNVERIFIED", "emailVerified": false, "roles": [ "ARTIST" ], "onboarding": { "status": "INCOMPLETE", "missing": [ … ], "roleFlags": { … }, "readiness": { … }, "roleReadiness": { … }, "nextStep": "select_role" }, "profile": { "displayName": "John Doe", "profilePhotoUrl": "https://example.com/photo.jpg" }, "connectedPlatforms": [ { … } ], "createdAtTimestamp": "2025-01-01T00:00:00.000Z", "lastUpdatedAtTimestamp": "2025-01-01T00:00:00.000Z" }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/me/settings
- Local development serverhttp://localhost:3000/me/settings
- Staging environmenthttps://api-staging.varmply.com/me/settings
- Production environmenthttps://api.varmply.com/me/settings
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs-staging.varmply.com/_mock/openapi/me/settings \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'User settings retrieved successfully
Profile photo URL (must start with https://)
User roles (ARTIST, BRAND, INFLUENCER, or ADMIN)
Whether core onboarding is complete (all 4 universal requirements met)
User notification preferences (key-value pairs)
Read-only summaries of platform integration capabilities
Social platform identifier
Current capability state of the integration
Platform-specific capability flags
Machine-readable reason code for the current status
Human-readable message explaining the current status
{ "profile": { "display_name": "John Doe", "profile_photo_url": "https://example.com/photo.jpg", "email_verified_at": "2025-01-01T00:00:00.000Z" }, "roles": [ "INFLUENCER" ], "capabilities": { "can_join_campaigns": true, "can_create_campaigns": false }, "onboarding_status": { "is_complete": true, "missing": [] }, "notification_defaults": { "email": true, "push": false }, "integration_capabilities": [ { … } ] }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/me/roles/assign
- Local development serverhttp://localhost:3000/me/roles/assign
- Staging environmenthttps://api-staging.varmply.com/me/roles/assign
- Production environmenthttps://api.varmply.com/me/roles/assign
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/me/roles/assign \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rolesToAdd": [
"ARTIST",
"BRAND"
]
}'Roles assigned successfully
Email verification status
Whether the email has been verified (true if emailVerifiedAtTimestamp is not null)
User roles (ARTIST, BRAND, INFLUENCER, or ADMIN)
Overall onboarding status
Array of missing requirements that prevent onboarding completion
Whether user has creator role (INFLUENCER only)
Whether user has sponsor role (BRAND or ARTIST)
Whether basic account setup is complete
Whether user is ready to participate in campaigns as creator
Array of platform integration capabilities
Social platform identifier
Current capability state of the integration
Platform-specific capability flags
Machine-readable reason code for the current status
Human-readable message explaining the current status
ISO timestamp of user creation
{ "userId": "user_123", "emailAddress": "user@example.com", "emailVerificationStatus": "UNVERIFIED", "emailVerified": false, "roles": [ "ARTIST" ], "onboarding": { "status": "INCOMPLETE", "missing": [ … ], "roleFlags": { … }, "readiness": { … }, "roleReadiness": { … }, "nextStep": "select_role" }, "profile": { "displayName": "John Doe", "profilePhotoUrl": "https://example.com/photo.jpg" }, "connectedPlatforms": [ { … } ], "createdAtTimestamp": "2025-01-01T00:00:00.000Z", "lastUpdatedAtTimestamp": "2025-01-01T00:00:00.000Z" }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/me/platform-connections
- Local development serverhttp://localhost:3000/me/platform-connections
- Staging environmenthttps://api-staging.varmply.com/me/platform-connections
- Production environmenthttps://api.varmply.com/me/platform-connections
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs-staging.varmply.com/_mock/openapi/me/platform-connections \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Platform connections retrieved successfully
Current capability state of the integration
Platform-specific capability flags
Machine-readable reason code for the current status
Human-readable message explaining the current status
ISO timestamp of last verification (null if not connected)
[ { "platform": "INSTAGRAM", "status": "NOT_CONNECTED", "capabilities": { … }, "reason_code": "NOT_CONNECTED", "reason_message": "Account not connected", "last_verified_at": null }, { "platform": "TIKTOK", "status": "NOT_CONNECTED", "capabilities": { … }, "reason_code": "NOT_CONNECTED", "reason_message": "Account not connected", "last_verified_at": null } ]