Developer Docs

Table of contents

Create list

Use this method to create a contact list. 

Request URL:

POST http://one-api.bsg.world/api/groups

Request parameters:

ParameterRequiredTypeDescription 
nameYesstringContact list name
descriptionNostringContact list description
defaultNobooleanIf the contact list is a default one. Possible values: true or false

Response parameters:

ParameterTypeDescription 
idintegerIdentifier of the created contact list, which is automatically generated by the system
namestringContact list name
descriptionstringContact list description
defaultbooleanIf the contact list is a default one. Possible values: true or false
created_atdatetimeDate and time when the contact list was created. Display format ― Y-m-d H:i:s

If request is successful, you will receive a response:

{
  "data": {
    "id": 1,
    "name": "string",
    "description": "string",
    "default": 0,
    "created_at": "2022-04-28 14:21:16"
  }
}

We use cookies (and other similar technologies) to collect data to improve your experience on our site. By using our website, you’re agreeing to the collection of data as described in our Website Data Collection Policy.