JavaScript SDK: swarmhit.lists.create(params?)
Authorization
bearerAuth AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/lists" \ -H "Content-Type: application/json" \ -d '{ "name": "Conference leads" }'{ "data": { "id": "string", "name": "string", "color": "string", "leadCount": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}