Integrate FotoFit into your apps with our REST API.
-proxy/api/v1/public/campaignsList published campaigns
Params: page, limit, search, sort (newest|popular)
/api/v1/public/campaigns/:projectIdGet campaign details and frames
Params: projectId or slug
/api/v1/public/campaigns/:projectId/applyApply frame overlay to photo
Params: photo (file), frameId
/api/v1/verify/:verificationIdVerify a certificate
Params: verificationId (FFT-XXXX-XXXX)
/api/v1/analytics/trackTrack campaign event
Params: projectId, eventType (view|apply|download|share)
Add a FotoFit campaign to any website with an iframe:
<iframe src="https://fotofit.in/embed/YOUR_PROJECT_ID" width="450" height="600" frameborder="0" style="border-radius: 12px; border: 1px solid #e5e7eb;" ></iframe>
Configure webhooks in your dashboard settings to receive real-time notifications for job.completed, job.failed, and campaign.apply events. Payloads are signed with HMAC-SHA256 via the X-FotoFit-Signature header.