Skip to main content
POST
/
v1
/
folders
/
contacts
Create contact list folder
curl --request POST \
  --url https://openapi.enginy.ai/v1/folders/contacts \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "parentId": 123
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {
    "id": 123,
    "name": "<string>",
    "parentId": 123,
    "type": "CONTACTS",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required

Folder name.

Minimum string length: 1
parentId
integer | null

Optional parent folder ID.

Response

201 - application/json

Folder created successfully

status
enum<string>
required
Available options:
success
message
string
required
data
object
required