Skip to main content

Quick Start Guide

Get started with DPaaS in less than 5 minutes.

Prerequisites

  • cURL, Python, or your favorite HTTP client
  • An internet connection

Step 1: Create an Organization

Every DPaaS setup starts with an Organization - this is your top-level container.

curl -X POST https://api.solucao42.com.br/organizations \
-H "Content-Type: application/json" \
-d '{
"name": "My Company",
"slug": "mycomp"
}'
Success!

You've created your organization with slug mycomp

Step 2: Authenticate

Now login to get your access token:

curl -X POST https://api.solucao42.com.br/authentication/login \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"password": "yourpassword",
"organization_slug": "mycomp"
}'

Response:

{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"refresh_token": "abc123def456...",
"token_type": "Bearer",
"expires_in": 900
}
note

💡 Save the access_token - you'll need it for all API calls!

Step 3: Make Your First API Call

Now use your token to list accounts:

curl https://api.solucao42.com.br/accounts \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Response:

{
"total": 1,
"page": 1,
"results": [
{
"id": "acc-123",
"name": "Default Account",
"is_default": true,
"created_at": "2025-09-30T10:00:00Z"
}
]
}

🎉 Congratulations!

You've successfully:

  • ✅ Created an organization
  • ✅ Authenticated and got a JWT token
  • ✅ Made your first API call

Next Steps

Now that you're up and running:

  1. Learn the basics

  2. Try advanced features

  3. Integrate with your app

Need help?

Check the troubleshooting guide or report issues on GitHub.