Skip to main content
POST
/
:projectId
/
lists
/
:listId
/
sub-lists
Create Sub-List
curl --request POST \
  --url https://api.replyke.com/api/v6/:projectId/lists/:listId/sub-lists \
  --header 'Content-Type: application/json' \
  --data '{
  "listName": "<string>"
}'
{
  "id": "<string>",
  "projectId": "<string>",
  "userId": "<string>",
  "name": "<string>",
  "parentId": "<string>",
  "entityIds": [
    {}
  ],
  "createdAt": "<string>",
  "updatedAt": "<string>"
}
Creates a new sub-list (nested list) under the specified parent list.

Path Parameters

listId
string
required
ID of the parent list to nest under

Body Parameters

listName
string
required
Name of the new sub-list

Response

id
string
Unique list identifier
projectId
string
Project identifier
userId
string
ID of the user who owns the list
name
string
Name of the list
parentId
string
ID of the parent list
entityIds
array
Array of entity IDs saved in this list
createdAt
string
Creation timestamp in ISO 8601 format
updatedAt
string
Last update timestamp in ISO 8601 format

Error Responses

{
  "error": "Missing required parameters in request body",
  "code": "list/missing-parameters"
}
{
  "error": "Invalid parent list ID for sub-list",
  "code": "list/invalid-parent"
}
{
  "error": "Server error",
  "code": "list/server-error",
  "details": "<Error message>"
}

Notes

  • The authenticated user’s ID is automatically associated with the new list.
  • Only existing parent lists can be used for sub-list creation.
  • The response includes the populated list details.
I