create flag is enabled, a new group will be created.
Endpoint
Authentication
You need to obtain the Organization Auth Token from your EazyBe Workspace.Access EazyBe Workspace
Go to workspace.eazybe.com
Headers
| Header | Type | Description |
|---|---|---|
Content-Type | string | application/json |
Authorization | string | Bearer {YOUR_ORGANIZATION_AUTH_TOKEN} |
Request Payload
The API requires the following fields:| Field | Type | Required | Description |
|---|---|---|---|
groupName | string | Yes | Name of the group to create or update |
contacts | array | Yes | List of phone numbers to add (international format) |
create | boolean | No | Create group if it doesn’t exist (defaults to false) |
Example Payload
Code Example (Node.js)
Response
Success Response (200 OK)
Error Responses
| Status Code | Description |
|---|---|
| 400 | Invalid request data |
| 403 | Inactive cloud session |
| 404 | Group not found (when create is false) |
| 500 | Group creation failed |
Best Practices
Active Cloud Session
Ensure your cloud session is active before making API calls
Create Flag
Set
create: true to automatically create groups that don’t existInternational Format
Use international phone number format (e.g., 911234567891)
Valid Token
Maintain a valid Organization Auth Token
If you have any questions or need further assistance, feel free to reach out to us at [email protected]. We’re happy to help!