NPS survey REST API

Turn a customer milestone into a feedback invitation.

Connect your own customer workflows to npsbloom from your server. Submit a business event, invite the intended recipient to a specific survey and track the work through a durable job.

30 days free · No credit card · For developers, SaaS platforms and teams with custom customer workflows

FROM QUESTION TO CUSTOMER UNDERSTANDING

Make every invitation to give feedback count.

Let your application choose the moment

Your server can submit an event after onboarding, a service appointment or another meaningful interaction. npsbloom handles the personal survey invitation using the selected connection and survey.

Retry without creating another business event

Use a stable event ID and Idempotency-Key for retries. Inspect the resulting job to see whether work is queued, skipped, cancelled or waiting for the daily invitation allowance.

Give the integration only the access it needs

Each credential is scoped to a workspace, connection and survey. Response reading is optional and requires the current export entitlement. Rotate or revoke credentials from the workspace.

PUT IT TO WORK

Ask after a meaningful service interaction.

A service platform can submit an invitation event when a customer completes their first month. Keep the credential on the server and send only the stable event ID, recipient email, UTC event time and invite action. If the event is cancelled, submit a cancel action for that same event ID before mail is handed to the provider.

Explore NPS surveys and feedback analysis →

GET CONNECTED

Set up REST API with npsbloom.

  1. Log in to npsbloom and open Integrations → REST API in your workspace.
  2. Publish a survey and create a REST API connection with the scopes your workflow needs.
  3. Save the one-time credential in your server environment, confirm recipient permission and activate the connection.
  4. POST /v1/integration-api/events with event_id, email, occurred_at, action and a stable Idempotency-Key.
  5. Read /v1/integration-api/jobs/{id} for processing status. Use bounded retries for transient failures with the same event and request key.
Set up REST API →

Questions about REST API?

Can I call the invitation API from browser JavaScript?

Use it from your server, where you can protect the credential. For a public browser experience, use the survey-specific JavaScript widget instead.

Can the API read survey responses?

Optional responses:read access is available only when granted to the connection and the workspace has the required export entitlement. Reads are scoped to the selected survey and use signed pagination.

What should my server do after a request timeout?

A timeout does not prove acceptance failed. Retry transient failures with the same Idempotency-Key and unchanged event body, respect rate limits, and inspect the returned job rather than creating a new business event.

Which response limits apply?

Your workspace plan controls live survey and response allowances. Review Pricing before inviting customers.

What should I check if setup does not work?

Check that the survey is published, the connection is active and the survey and placement IDs match. Test with a browser and an address you control.

Start with a question worth asking.

Create your survey, publish it and connect REST API when you are ready.

Start your free 30-day trial →