v1
latestOpenAPI 3.1.02026-07-24170121.2 MBCreate Role
post/v1/roles
Headers
Acceptstring required
Indicates which content types, expressed as MIME types, the client is able to understand.
Content-Typestring required
Indicates the media type of the resource sent in the HTTP message body. <br /><br /><b>Possible Values:</b><br /> application/json<br />application/x-www-form-urlencoded
Request body
Response
200
Example response
{
"data": {
"object": "Role",
"id": "MRLmEaRMzRMajzQb",
"name": "Test",
"created_at": 1728593373,
"permissions": {
"data": [
{
"object": "Permission",
"id": "NoozEMxzoYxdYeNM",
"name": "create-lead",
"display_name": "Create New Lead",
"permission_type": "Lead"
}
]
}
}
}