Create Segment List
Copied



https://api.ocamba.com/v1/hood/segment-lists
Copied

https://api.ocamba.com/v1/hood/segment-lists
Creates a new Segment List
Rate limits:
Burst: 10/s
Steady: 150/m
Name
Descriptioncolorstring
List color. Valid hex color code.Example: #6d9382
descriptionstring
The more detailed description of the List. string[0 .. 2000]Example: This is my first segmet list.
itemsarrayrequired
The array of segment ids. array [1 .. 100]Example: ["1000", "1001"]
namestringrequired
The name of the Segment List. string[2 .. 100] characters.Example: My List
201 - Created
Name
Descriptioncolorstring
List color. Valid hex color code.Example: #6d9382
descriptionstring
The more detailed description of the List. string[0 .. 2000]Example: This is my first segmet list.
itemsarrayrequired
The array of segment ids. array [1 .. 100]Example: ["1000", "1001"]
namestringrequired
The name of the Segment List. string[2 .. 100] characters.Example: My List
400 - Bad Request
Name
Descriptioncodeinteger
Http response status code.Example: 400
messagestring
The human readable message that describes how to deal with error.Example: The request body is not valid.
titlestring
The error title.Example: Bad request.
trace_idstring
Error trace id.Example: 99a84211-f73d-4ff8-acdf-eb3e06bb9d62
500 - Internal Server Error
Name
Descriptioncodeinteger
Http response status code.Example: 500
titlestring
The error title.Example: Internal server error.
trace_idstring
Error trace id.Example: 99a84211-f73d-4ff8-acdf-eb3e06bb9d62