Getting Started
The Membrane Campaign API lets you create surveys and advertisement campaigns programmatically. You can be live in three steps.
Step 1 — Register a company
Before using the Campaign API you must have a registered company. Use the existing company creation endpoint:
POST /api/company/createStep 2 — Generate your API key
Authenticate with your JWT token to mint an API key. This key is used for all subsequent campaign operations.
POST /nfthing/api-key/generateTry it from the Generate API Key playground.
Step 3 — Create campaigns
Use your API key to create surveys or advertisements, attach questions, and toggle them live. Every endpoint in the reference includes an inline playground pre-filled with a working request body.
- Create a survey then add questions.
- One-shot image surveys: round-robin, binary, or image slider.
- Create an advertisement with video content; optionally attach feedback questions.
- Then toggle the campaign live.
Base URL
https://testfktr.nfthing.com:8000