Health check endpoints
- Join a campaign as an influencer
Varmply Backend API (0.1.0)
Varmply API – MVP backend for campaigns, wallets, authentication, and influencer participation.
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/campaigns/{campaignId}/participations
- Local development serverhttp://localhost:3000/campaigns/{campaignId}/participations
- Staging environmenthttps://api-staging.varmply.com/campaigns/{campaignId}/participations
- Production environmenthttps://api.varmply.com/campaigns/{campaignId}/participations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/campaigns/campaign_abc123/participations \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'Successfully joined the campaign
Unique identifier for the participation
Unique identifier for the campaign
Unique identifier for the influencer user
Current status of the participation
List of content submissions for this participation
Platform where the content was posted
URL to the content
When the content was submitted
When the participation was created
{ "participation": { "participationId": "participation_xyz789", "campaignId": "campaign_abc123", "influencerUserId": "user_123", "participationStatus": "PARTICIPATION_STATUS_APPROVED", "contentSubmissionList": [], "createdAtTimestamp": "2024-01-01T00:00:00Z", "lastUpdatedAtTimestamp": "2024-01-01T00:00:00Z" } }
Platform where the content was posted
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/participations/{participationId}/content-submissions
- Local development serverhttp://localhost:3000/participations/{participationId}/content-submissions
- Staging environmenthttps://api-staging.varmply.com/participations/{participationId}/content-submissions
- Production environmenthttps://api.varmply.com/participations/{participationId}/content-submissions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/participations/participation_xyz789/content-submissions \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"platformType": "INSTAGRAM",
"contentUrl": "https://instagram.com/p/abc123",
"postedAtTimestamp": "2024-01-01T12:00:00Z"
}'Content submitted successfully
Unique identifier for the participation
Unique identifier for the campaign
Unique identifier for the influencer user
Current status of the participation
List of content submissions for this participation
Platform where the content was posted
URL to the content
When the content was submitted
When the participation was created
{ "participation": { "participationId": "participation_xyz789", "campaignId": "campaign_abc123", "influencerUserId": "user_123", "participationStatus": "PARTICIPATION_STATUS_CONTENT_SUBMITTED", "contentSubmissionList": [ … ], "createdAtTimestamp": "2024-01-01T00:00:00Z", "lastUpdatedAtTimestamp": "2024-01-01T12:00:00Z" } }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/participations/{participationId}/approve
- Local development serverhttp://localhost:3000/participations/{participationId}/approve
- Staging environmenthttps://api-staging.varmply.com/participations/{participationId}/approve
- Production environmenthttps://api.varmply.com/participations/{participationId}/approve
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/participations/participation_xyz789/approve \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Content approved successfully
Unique identifier for the participation
Unique identifier for the campaign
Unique identifier for the influencer user
Current status of the participation
List of content submissions for this participation
Platform where the content was posted
URL to the content
When the content was submitted
When the participation was created
{ "participation": { "participationId": "participation_xyz789", "campaignId": "campaign_abc123", "influencerUserId": "user_123", "participationStatus": "PARTICIPATION_STATUS_APPROVED", "contentSubmissionList": [ … ], "createdAtTimestamp": "2024-01-01T00:00:00Z", "lastUpdatedAtTimestamp": "2024-01-01T13:00:00Z" } }
- Mock serverhttps://docs-staging.varmply.com/_mock/openapi/participations/{participationId}/complete
- Local development serverhttp://localhost:3000/participations/{participationId}/complete
- Staging environmenthttps://api-staging.varmply.com/participations/{participationId}/complete
- Production environmenthttps://api.varmply.com/participations/{participationId}/complete
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs-staging.varmply.com/_mock/openapi/participations/participation_xyz789/complete \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Participation marked as completed successfully
Unique identifier for the participation
Unique identifier for the campaign
Unique identifier for the influencer user
Current status of the participation
List of content submissions for this participation
Platform where the content was posted
URL to the content
When the content was submitted
When the participation was created
{ "participation": { "participationId": "participation_xyz789", "campaignId": "campaign_abc123", "influencerUserId": "user_123", "participationStatus": "PARTICIPATION_STATUS_COMPLETED", "contentSubmissionList": [ … ], "createdAtTimestamp": "2024-01-01T00:00:00Z", "lastUpdatedAtTimestamp": "2024-01-01T14:00:00Z" } }