Get Started
Welcome to the SoluCX API documentation! This guide will take you from zero to your first working integration in just a few minutes.
What is the SoluCX API?
The SoluCX API is a RESTful API that allows you to integrate the customer experience management platform into your systems. With it you can:
- Create transactions that represent your customers' interactions with your company
- Manage customers, units, and employees programmatically
- Trigger surveys automatically based on events
- Query satisfaction data and reports
Base URL
| Environment | URL |
|---|---|
| Production | https://api.solucx.com.br/public |
| Preview (beta) | https://api.preview.solucx.com.br/public |
Testing tip: We recommend creating specific test journeys in the SoluCX dashboard. After validating your integration, you can reverse the test transactions to keep your data clean.
Fundamental Concepts
Before you begin, it's important to understand the main concepts of the platform:
Transaction - A transaction represents a customer interaction with your company. It can be a purchase, a service call, a delivery, etc. Each transaction can automatically trigger a survey.
Journey - A journey is a type of experience you want to measure (e.g., "post-purchase", "post-service"). You configure journeys in the SoluCX dashboard and reference them via journeySlug when creating transactions.
Survey - A survey is automatically sent to the customer after a transaction, based on the configured journey. It can be NPS, CSAT, CES, or custom.
Customer - Represents the person who will receive the survey. Identified by email, phone, or both.
Unit (Store) and Employee - Entities that allow you to segment and analyze feedback by business unit and by attendant. Examples of units: stores (retail), clinics (healthcare), agencies (financial).
Step 1: Get your API credentials
To use the SoluCX API, you will need two authentication keys:
- x-solucx-api-key: Your instance's API key
- x-solucx-user-token: User token for authentication
To obtain your credentials, contact our support at [email protected].
Keep your credentials in a secure location. Never expose them in frontend code or public repositories.
Step 2: Make your first request
Test your credentials by querying transactions in the API:
If everything is correct, you will receive a 200 OK response with transaction data.
Step 3: Configure the journey in the dashboard
Important: Before creating transactions, you need to have a journey configured in the SoluCX dashboard.
For the survey to be sent, configure a journey:
- Access Journeys in the SoluCX dashboard
- Create or edit a journey with the slug
post-purchase(the same that will be used injourneySlug) - Configure which survey to send and when (immediately, after 1 day, etc.)
- Activate the journey
You can have multiple journeys (post-purchase, post-service, post-delivery) and use different slugs for each one.
Step 4: Create your first transaction
Now let's create a transaction that will trigger a survey. Use the /v2/transactions endpoint:
A successful response will look like this:
Step 5: Verify the result
After creating the transaction and configuring the journey:
- The survey will be automatically sent to the customer via email/SMS
- You can track results in the SoluCX dashboard under NPS and Statement reports
To query a specific transaction via API:
Example response:
Next Steps
Practical Examples
E-commerce transaction
Support transaction
If you have questions, contact our support team at [email protected].