The data payload of the response.
The list of errors, if any.
The request ID for tracking.
const response = await fetch('https://api.usepylon.com/user-roles', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "id": "text", "name": "text", "slug": "text" } ], "errors": [ "text" ], "pagination": { "cursor": "text", "has_next_page": false }, "request_id": "text" }