curl --location --request GET 'https://api.synup.com/api/v4/roles' \
--header 'Authorization: API T9V35W3xxxxxxxxxxx'
{
"data": {
"fetchAccountRoles": [
{
"id": "Q3VzdG9tUm9sZToxODE3NzY=",
"name": "Approval",
"createdAt": "2025-01-21 19:05:43 UTC",
"updatedAt": "2025-01-21 19:07:13 UTC"
},
{
"id": "Q3VzdG9tUm9sZTo0NDUyMg==",
"name": "Admin",
"createdAt": "2020-02-12 07:27:46 UTC",
"updatedAt": "2025-01-22 15:24:13 UTC"
},
{
"id": "Q3VzdG9tUm9sZTo0NTI5MQ==",
"name": "Corporate Role",
"createdAt": "2020-02-12 07:28:05 UTC",
"updatedAt": "2025-01-15 06:16:29 UTC"
}
],
"pagination": {
"$ref": "#/components/schemas/Pagination"
}
}
}