Retrieve team roles

GET {{url}}/api/1.0/roles

Request Params

KeyDatatypeRequiredDescription
created_beforestringRetrieves team members with created_at < created_before. The default value is the current date and time at which you are calling the endpoint.

Provided in ISO 8601 format. | | limit | number | | The maximum number of team members returned per page.

To get to the next page, make a new request and use the created_at date of the last team member returned in the previous response as the value for created_before. |

RESPONSES

status: OK

[{&quot;id&quot;:&quot;owner&quot;,&quot;name&quot;:&quot;Owner&quot;,&quot;created_at&quot;:&quot;2023-09-07T09:21:12.962303Z&quot;,&quot;updated_at&quot;:&quot;2023-09-07T09:21:12.962303Z&quot;},{&quot;id&quot;:&quot;member&quot;,&quot;name&quot;:&quot;Member&quot;,&quot;created_at&quot;:&quot;2023-09-07T09:21:12.962303Z&quot;,&quot;updated_at&quot;:&quot;2023-09-07T09:21:12.962303Z&quot;},{&quot;id&quot;:&quot;viewer&quot;,&quot;name&quot;:&quot;Viewer&quot;,&quot;created_at&quot;:&quot;2023-09-07T09:21:12.962303Z&quot;,&quot;updated_at&quot;:&quot;2023-09-07T09:21:12.962303Z&quot;},{&quot;id&quot;:&quot;a40b6121-350b-4d2e-9ba1-9dab61a18d46&quot;,&quot;name&quot;:&quot;Example custom role&quot;,&quot;created_at&quot;:&quot;2023-09-07T09:21:12.963143Z&quot;,&quot;updated_at&quot;:&quot;2023-09-07T09:21:12.963143Z&quot;}]