Create Group API

This API enables to establish groups on the Alohaa platform which consists of multiple agents.

Endpoint Description

POST https://priority-route.alohaa.ai/v1/external/group

Parameters

Request Headers

Field
Value
Description
Mandatory

Content-Type

application/json

Specifies the content type of the request.

Yes

x-metro-api-key

*************************

API key for authentication purposes.

Yes

Request Body

Field
Data Type
Description
Mandatory

name

String

The name of the group to be created.

Yes

description

String

A brief description of the group.

Yes

member

Array

An array of member phone numbers.

Yes

Sample Request

{
  "x-metro-api-key": "****************"
}

Responses

Success Response

Failure Response

Error Codes

Code
Description

1006

Agent does not exist

1013

Organisation does not exist

1099

Invalid schema or Missing Data sent

Last updated