Skip to main content
GET
/
resources
/
organization-roles
Get the organization roles
curl --request GET \
  --url https://api.mycreditapp.ai/v1-beta/resources/organization-roles \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication using a JWT token. Provide a valid access token. Authorization header format: Authorization: Bearer <token>.

Response

Successful Response

id
string<uuid>
required

Unique identifier for the organization role

Examples:

"292e8dad-37b5-4cb3-8a00-5bb840be894e"

"3f6cb2a5-a2f6-43b1-ae31-b6e323f909ed"

name
string
required

Name of the organization role or function

Required string length: 1 - 100
Examples:

"Buyer"

"Seller"