Create a new contact group

This API allows you to create a new contact group

Sample Request

curl --request POST \
     --url https://api.servetel.in/v1/contact/group \
     --header 'accept: application/json' \
     --header 'content-type: application/json'

šŸ“˜ Important!

Before we begin, note that the * sign denotes the mandatory variables in each table.

Request Variables (Body Params)

The following parameter is required to create a new contact group:

Variable NameDescriptionData Type
name*Name of the contact group.string
description*Description of the contact group.string
custom_field_map*Fields mapped against the contact group.array of strings
list_idList of to be associated with contact group.string

Response Variables

The response returned is as following:

Variable NameDescriptionData Type
SuccessThe request success status, the possible values are: True (default) for success. False for failure.Boolean
MessageThe message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here.String
Language
Click Try It! to start a request and see the response here!