latestOpenAPI 3.1.02026-08-233001841.3 MB

0dcf3303e9d7

roles

Create a new role

visibility_user_lcf_ids (optional)

A list of Lead Custom Field IDs that define which leads user with this role can see. If the role has view_all_leads permission, this field should be empty.

visibility_user_lcf_behavior (optional)

Defines how lead visibility works for leads that don't have assigned users. If the role has view_all_leads permission, this field should be empty.

  • require_assignment - leads without assigned users are not visible to this role
  • allow_unassigned - leads without assigned users are visible to this role
post/role/

Response

Successful response