This repository contains the official Postman collection for the Onurix API. Use this collection to easily test and integrate Onurix services including SMS, Voice Calls, WhatsApp, URL Shortener, and contact management into your applications.
- Features
- Getting Started
- Installation
- Configuration
- Collection Structure
- Usage Examples
- API Documentation
- Support
- License
This Postman collection includes all major Onurix API endpoints:
- SMS: Send text messages and 2FA codes
- Voice Calls: Generate automated voice calls with custom messages
- WhatsApp: Send WhatsApp messages with templates and 2FA codes
- General: Check balance, verify messages, manage security
- Groups & Contacts: Complete contact and group management
- URL Shortener: Create and track shortened URLs
- Postman installed (Desktop App or Web Version)
- An active Onurix account
- Your API credentials (Client ID and API Key)
- Log in to your Onurix panel
- Navigate to Seguridad API (API Security)
- Copy your Client ID and API Key
- Download the collection file:
Onurix-API.postman_collection.json - Open Postman
- Click Import button (top left)
- Drag and drop the JSON file or click Upload Files
- Click Import
- Open Postman
- Click Import button
- Select Link tab
- Paste the raw GitHub URL of the collection file:
https://raw.githubusercontent.com/onurixlatam/postman/main/Onurix-API.postman_collection.json - Click Continue and then Import
After importing the collection, you need to configure your API credentials:
- In Postman, click on Environments (left sidebar)
- Click Create Environment (or use an existing one)
- Add the following variables:
client= Your Client ID from Onurix panelkey= Your API Key from Onurix panel
- Click Save
- Select the environment from the dropdown in the top-right corner
- Right-click on the Onurix API collection
- Select Edit
- Go to the Variables tab
- Update the values for:
client= Your Client IDkey= Your API Key
- Click Save
The collection is organized into the following folders:
- Send SMS: Send text messages to one or multiple recipients
- Send SMS 2FA: Send SMS with two-factor authentication codes
- Send Call: Generate voice calls with custom messages
- Send Call 2FA: Send 2FA codes via voice call
- Send WhatsApp with Template: Send messages using approved Meta templates
- Send WhatsApp 2FA: Send 2FA codes via WhatsApp
- Send WhatsApp Without Template: Send direct messages
- Get Balance: Check your account credit balance
- Security - Block Number: Block phone numbers
- Verify 2FA Code: Validate two-factor authentication codes
- Verify Message Status: Check delivery status of messages
- Create/Update/Delete Groups: Manage contact groups
- Create/Update/Delete Contacts: Manage individual contacts
- List Groups: View all contact groups
- List Contacts in Group: View contacts in a specific group
- Associate/Dissociate Contacts: Manage group memberships
- Create Short URL: Generate shortened URLs
- Get URL Statistics: Track clicks and analytics for shortened URLs
- Open the SMS folder
- Click on Send SMS
- Make sure your environment is selected
- Update the request body parameters:
phone: Replace with destination number (e.g.,573001234567)sms: Enter your message text
- Click Send
- Open the General folder
- Click on Get Balance
- Click Send
- View your credit balance in the response
- Open the Groups and Contacts folder
- Click on Create Group
- Update the
nameparameter in the request body - Click Send
- Note the
group-idin the response for future use
- Open the WhatsApp folder
- Click on Send WhatsApp with Template
- Update the URL query parameter
templateIdwith your approved template ID - Modify the JSON body with your data:
phones: Destination number(s)header,body,button: Template parameter values
- Click Send
For detailed API documentation, including:
- Complete parameter descriptions
- Response formats and status codes
- Rate limits and best practices
- Advanced usage scenarios
Please visit the official documentation: https://docs.onurix.com/
- Onurix cURL Examples - Command-line examples
- Onurix PHP SDK - PHP integration
- Onurix Python SDK - Python integration
- Onurix Node.js SDK - Node.js integration
- Onurix Java SDK - Java integration
- Onurix Go SDK - Go integration
- Onurix C# SDK - C# integration
- Never commit your API credentials to version control
- Store your
clientandkeyvalues in Postman environments - Use environment-specific credentials (development, staging, production)
- Rotate your API keys periodically from the Onurix panel
For support and questions:
- Email: soporte@onurix.com
- Website: https://onurix.com
- Documentation: https://docs.onurix.com/
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! If you find any issues or have suggestions for improvements:
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
Made with β€οΈ by Onurix
