---
agentTools:
  projectIndex: https://developers.uberflip.com/llms.txt
---

# List API Keys for User

This endpoint returns a paginated list of Uberflip API Keys for a user.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Uberflip API",
    "version": "2.1",
    "description": "Uberflip API",
    "contact": {
      "name": "Uberflip",
      "url": "https://developers.uberflip.com/",
      "email": "contact@uberflip.com"
    }
  },
  "servers": [
    {
      "url": "https://v2.api.uberflip.com"
    }
  ],
  "tags": [
    {
      "name": "USER API KEYS"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/users/{userId}/api-keys": {
      "get": {
        "tags": [
          "USER API KEYS"
        ],
        "summary": "List API Keys for User",
        "operationId": "list-api-keys-for-user",
        "description": "This endpoint returns a paginated list of Uberflip API Keys for a user.",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "description": "The unique identifer of the user",
            "schema": {
              "type": "integer"
            },
            "required": true
          },
          {
            "name": "query",
            "in": "query",
            "description": "Specify a value to return only results that match the value in the `name` field.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Specify the field that should be used to sort the returned API Keys. See the table below for accepted `sort` values. Sort order will be either ascending or alphabetical depending on the field specified.\n- `id`: Sort by API Key identifier\n- `name`: Sort by API Key name\n- `created_at`: Sort by API Key creation date\n- `modified_at`: Sort by date on which API Key was last modified\n",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/limitParam"
          },
          {
            "$ref": "#/components/parameters/pageParam"
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The collection of API Keys for a user",
                      "items": {
                        "$ref": "#/components/schemas/userapikey"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "description": "See: Pagination"
                    }
                  }
                },
                "examples": {
                  "Result": {
                    "value": {
                      "data": [
                        {
                          "id": 263907,
                          "name": "Example Uberflip API Key",
                          "key": "28f393ff75c36a315788858d4329fe0d",
                          "secret": "580ac2337557a210c7f0e43221b02afdb595a9d2",
                          "created_at": "2018-04-25T20:29:36-0400",
                          "modified_at": "2018-11-30T00:00:00-0517"
                        }
                      ],
                      "meta": {
                        "count": 1,
                        "limit": 25,
                        "total_pages": 1
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Access token from /authorize endpoint"
      }
    },
    "parameters": {
      "limitParam": {
        "name": "limit",
        "in": "query",
        "description": "Set the number of results returned per [page](https://developers.uberflip.com/reference/pagination). Defaults to 25 if not set.",
        "schema": {
          "type": "integer",
          "default": 25,
          "minimum": 1,
          "maximum": 100
        }
      },
      "pageParam": {
        "name": "page",
        "in": "query",
        "description": "Specify the [page](https://developers.uberflip.com/reference/pagination) of results to be returned. Defaults to 1 if not set.",
        "schema": {
          "type": "integer",
          "default": 1,
          "minimum": 1
        }
      }
    },
    "schemas": {
      "userapikey": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The API Key identifier"
          },
          "name": {
            "type": "string",
            "description": "The API Key name"
          },
          "key": {
            "type": "string",
            "description": "The API Key"
          },
          "secret": {
            "type": "string",
            "description": "The API Key Secret"
          },
          "created_at": {
            "type": "string",
            "description": "The API Key created date",
            "format": "date-time"
          },
          "modified_at": {
            "type": "string",
            "description": "The API Key last modified date",
            "format": "date-time"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 99,
      "1": 151,
      "2": 113,
      "3": 115,
      "4": 165,
      "5": 253,
      "6": 73,
      "7": 0,
      "8": 113,
      "9": 158,
      "10": 39,
      "11": 103
    }
  }
}
```