---
title: "listOrganizationRoles"
method: GET
path: "/organizations/{organization}/roles"
tags: ["Role"]
---

# listOrganizationRoles

`GET /organizations/{organization}/roles`

## Request

- Base URL: `https://pro.gofundme.com/api/2.0`
- URL: `https://pro.gofundme.com/api/2.0/organizations/{organization}/roles`
- Auth: OAuth 2
  - Password
  - Token URL: `/oauth2/auth`

Lists all the Roles that are available to the Organization.

## Path parameters

- `organization` integer, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Success

- object
  - `current_page` integer: Index of current page
  - `data` object[]: Collection of Organization Roles
    - `scope_type` 'organization' | 'campaign': Type of Scope
    - `id` integer: Primary identifier of Role
    - `custom_id` string: Internal name for Role
    - `description` string: Description of the Role
    - `name` string: Name of the Role
    - `is_assignable` boolean: Indicates if the Role is assignable or not.
    - `created_at` string, date-time: Date/time of initial record creation
    - `updated_at` string, date-time: Date/time of record last updated
    - `classy_live_event_id` integer: ID of associated Live Events event id
  - `first_page_url` string, nullable: URL of first page of results
  - `from` integer, nullable: Index of first displayed result within total result set
  - `last_page` integer: Index of last page in result set
  - `last_page_url` string, nullable: URL of last page of results
  - `next_page_url` string, nullable: URL of next page of results
  - `path` string, nullable: URL of current page of results
  - `per_page` integer: Maximum number of records returned per page of results
  - `prev_page_url` string, nullable: URL of previous page of results
  - `links` PaginationLink[]: Collection of objects representing pages {label, URL, active} that can be used to request the associated page of records.
    - `label` string: Identifier of the page.
    - `url` string, nullable: URL that can be used to fetch associated page of records.
    - `active` boolean: Identifies whether the previously requested page matches the page this link object references.
  - `to` integer, nullable: Index of last displayed result within total result set
  - `total` integer: Total count of records in result set

## Other responses

- `403`: Requester is not authorized to perform action
- `404`: Organization not found

---

[API](https://skmtc.dev/gofundme/apis/gofundme-pro-api.md) - [All operations](https://skmtc.dev/gofundme/apis/gofundme-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gofundme/apis/gofundme-pro-api/revisions/094a1e510fe9?raw)
