Start with your workspace
Sign in to the customer application, review account settings and create a named API key for your integration. Store the key on the server side; never embed it in browser code.
Make a read-only request first
Use the API base URL for your deployment and an Authorization: Bearer header. Start with GET /app/me or GET /app/campaigns to confirm the key and account scope.
Move to write operations deliberately
Campaign edits, status changes and message sends can affect real activity. Validate payloads and approval requirements against the endpoint before using a write operation.
Example
curl "$ZEROSDR_API_URL/app/campaigns" \
-H "Authorization: Bearer $ZEROSDR_API_KEY"Example values only. Use your deployment URL and keep real credentials on your server.