AppsFlyer Managing roles API

The Managing roles API from AppsFlyer — 1 operation(s) for managing roles.

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /roles List account roles and their users · Get roles #
Ask an LLM
“Who in my account has which role?”
“Can I export the roles defined on my AppsFlyer account?”
Tell an agent
List the roles on my account with their users.
Show every role and who is assigned to it.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/appsflyer:appsflyer-managing-roles-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

appsflyer-managing-roles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: User management Managing roles API
  version: 1.0.0
servers:
- url: https://hq1.appsflyer.com/api/user-management/v1.0
security:
- bearerAuth: []
tags:
- name: Managing roles
paths:
  /roles:
    get:
      summary: Get roles
      description: '> ⚠️ Important

        >

        > All API V2 tokens generated before March 10, 2026, 19:00 UTC have been revoked. If your token was generated before this date, please regenerate it. Learn how.


        Retrieve roles data for account with list of users for each role'
      tags:
      - Managing roles
      responses:
        '200':
          description: Successful response containing the list of roles with capabilities and users for each role
          content:
            application/json:
              schema:
                type: object
                properties:
                  roles:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          description: The display name of the role
                        type:
                          type: string
                          enum:
                          - predefined
                          - custom
                          description: Describes whether the role is custom or pre-defined
                        capabilities:
                          type: array
                          items:
                            type: object
                            properties:
                              section:
                                type: string
                                description: The name of a section of capabilities
                              capabilities:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    name:
                                      type: string
                                      description: The name of the capability
                                    access_level:
                                      type: string
                                      enum:
                                      - blocked
                                      - read
                                      - all
                        users:
                          type: array
                          items:
                            type: object
                            properties:
                              email:
                                type: string
                                description: The email of a user that has this role
                              name:
                                type: string
                                description: The name of a user that has this role
        '400':
          description: Bad request - exceeded limit
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message for a bad request
        '401':
          description: Unauthorized - Missing or insufficient permissions
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message for unauthorized access
      operationId: getRoles
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: "**Important: API V2 Token Revocation**\n\nAll API V2 tokens generated before March 10, 2026, 19:00 UTC have been revoked. If your token was generated before this date, please regenerate it. [Learn how](https://support.appsflyer.com/hc/en-us/articles/360004562377-Managing-AppsFlyer-tokens).\n\nAuthorization HTTP header containing API V2 token (bearer token) is required.\n\n The admin [gets the V2 token in the dashboard](https://support.appsflyer.com/hc/en-us/articles/360004562377)"