Create a folder (optionally with leads in it)
POST
https://server.heyrik.com/api/v1/crm/foldersHeaders
AuthorizationstringRequiredUse Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.
Parameters 3
Fields documented for this operation. See the request example for placement and structure.
namestringRequiredFolder name.
colorstringHex colour for the dashboard.
leadIdsarrayLeads to move into it right away.
Response
No response example is documented for this operation yet.
Error referencePOST/crm/folders
cURL
curl -X POST https://server.heyrik.com/api/v1/crm/folders \
-H "Authorization: Bearer $HEYRIK_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "Hyderabad - August", "leadIds": ["lead_71a4"] }'Illustrative examples · No live request is sent
