> ## Documentation Index
> Fetch the complete documentation index at: https://www.dropfans.io/developers/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /api/external/me — Which creator this API key belongs to

> Returns the creator account behind the key, plus metadata about the key itself.

- Source: https://www.dropfans.io/developers/reference/get-me
- Section: API reference
- OpenAPI: https://www.dropfans.io/developers/openapi.json

Returns the creator account behind the key, plus metadata about the key itself.

Call it once at startup to confirm the key works and to learn the creator's `id`, `username` and `accountType` — posting to the For You feed needs CREATOR or AGENCY, and every link surface needs a `username`. The `key` block tells you which integration the key was minted for and its rate-limit tier, matching the `X-RateLimit-Tier` header.

## Authentication

`Authorization: Bearer dpfn_...` — an API key generated in the creator's dashboard (Vault → API Connect). One key = one creator. Missing or invalid keys return 401 `{"error":"Unauthorized","code":"unauthorized"}`.

## Responses

### 200

The key’s creator account.

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | The creator’s Dropfans user id. Stable — safe to key your own records on. |
| `username` | string \\| null |  | The creator’s public @handle, without the @. Null until the creator picks one — several link surfaces (GET /api/external/links, the post `url`) need it. |
| `name` | string \\| null |  | Display name. Null when unset. |
| `image` | string \\| null |  | Profile image URL. Null when the creator has no avatar. |
| `accountType` | `CONSUMER` \\| `CREATOR` \\| `AGENCY` |  | Account class of the key’s owner. Posting to the For You feed requires CREATOR or AGENCY. |
| `key` | object |  | Metadata about the API key used on this request (added 2026-08-19). |
| `key.name` | string |  | The key’s label, chosen at mint (defaults to the app name, or "Personal"). |
| `key.app` | object \\| null |  | The integration this key was minted for. Null for a Personal key. |
| `key.app.slug` | string |  | Stable app identifier. |
| `key.app.name` | string |  | App display name. |
| `key.tier` | `personal` \\| `app` \\| `first_party` |  | Rate-limit tier of this key — the same value the X-RateLimit-Tier response header carries. |

```json
{
  "id": "clx2f8a1b0001qw3k",
  "username": "valeria",
  "name": "Valeria",
  "image": "https://cdn.dropfans.io/valeria/profile.jpg",
  "accountType": "CREATOR",
  "key": {
    "name": "KVIQA",
    "app": {
      "slug": "kviqa",
      "name": "KVIQA"
    },
    "tier": "app"
  }
}
```

## Errors

| Status | Body | When |
|---|---|---|
| 401 | `{"error":"Unauthorized","code":"unauthorized"}` | Missing or invalid API key. |

## Notes

The `accountType` and `key` fields were added with the public launch (2026-08-19); `id`, `username`, `name` and `image` are unchanged from the original response.

## Rate limiting

Per-key fixed windows by tier (Personal 60/min · 5,000/day; approved apps 300/min · 50,000/day; Dropfans-operated integrations exempt). Read the live values from X-RateLimit-Tier, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and their -Day variants; a 429 carries Retry-After and `{"error":"Rate limit exceeded","code":"rate_limited"}`. See [Rate limits](https://www.dropfans.io/developers/concepts/rate-limits.md).

## Code samples

### curl

```bash
curl "https://www.dropfans.io/api/external/me" \
  -H "Authorization: Bearer $DROPFANS_API_KEY"
```

### Node

```javascript
const res = await fetch(`https://www.dropfans.io/api/external/me`, {
  headers: {
    Authorization: `Bearer ${process.env.DROPFANS_API_KEY}`,
  },
});
console.log(await res.json());
```

### Python

```python
import os
import requests

res = requests.get(
    "https://www.dropfans.io/api/external/me",
    headers={"Authorization": f"Bearer {os.environ['DROPFANS_API_KEY']}"},
)
print(res.json())
```

## OpenAPI

```json
{
  "method": "GET",
  "path": "/api/external/me",
  "operationId": "getMe",
  "tags": [
    "account"
  ],
  "summary": "Which creator this API key belongs to",
  "description": "Returns the creator account behind the key, plus metadata about the key itself.\n\nCall it once at startup to confirm the key works and to learn the creator's `id`, `username` and `accountType` — posting to the For You feed needs CREATOR or AGENCY, and every link surface needs a `username`. The `key` block tells you which integration the key was minted for and its rate-limit tier, matching the `X-RateLimit-Tier` header.",
  "responses": {
    "200": {
      "description": "The key’s creator account.",
      "headers": {
        "X-RateLimit-Tier": {
          "description": "Rate-limit tier of the key: personal, app or first_party (first_party is unlimited).",
          "schema": {
            "type": "string",
            "enum": [
              "personal",
              "app",
              "first_party"
            ]
          }
        },
        "X-RateLimit-Limit": {
          "description": "Requests allowed per minute for this key (absent on first_party).",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Remaining": {
          "description": "Requests left in the current minute window.",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Reset": {
          "description": "Epoch seconds when the minute window resets.",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Limit-Day": {
          "description": "Requests allowed per UTC day for this key (absent on first_party).",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Remaining-Day": {
          "description": "Requests left in the current UTC day window.",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Reset-Day": {
          "description": "Epoch seconds when the day window resets.",
          "schema": {
            "type": "integer"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The creator’s Dropfans user id. Stable — safe to key your own records on.",
                "example": "clx2f8a1b0001qw3k"
              },
              "username": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The creator’s public @handle, without the @. Null until the creator picks one — several link surfaces (GET /api/external/links, the post `url`) need it.",
                "example": "valeria"
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Display name. Null when unset.",
                "example": "Valeria"
              },
              "image": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Profile image URL. Null when the creator has no avatar.",
                "format": "uri"
              },
              "accountType": {
                "type": "string",
                "description": "Account class of the key’s owner. Posting to the For You feed requires CREATOR or AGENCY.",
                "enum": [
                  "CONSUMER",
                  "CREATOR",
                  "AGENCY"
                ],
                "example": "CREATOR"
              },
              "key": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The key’s label, chosen at mint (defaults to the app name, or \"Personal\").",
                    "example": "KVIQA"
                  },
                  "app": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "slug": {
                        "type": "string",
                        "description": "Stable app identifier.",
                        "example": "kviqa"
                      },
                      "name": {
                        "type": "string",
                        "description": "App display name.",
                        "example": "KVIQA"
                      }
                    },
                    "description": "The integration this key was minted for. Null for a Personal key."
                  },
                  "tier": {
                    "type": "string",
                    "description": "Rate-limit tier of this key — the same value the X-RateLimit-Tier response header carries.",
                    "enum": [
                      "personal",
                      "app",
                      "first_party"
                    ],
                    "example": "app"
                  }
                },
                "description": "Metadata about the API key used on this request (added 2026-08-19)."
              }
            },
            "required": [
              "id"
            ]
          },
          "example": {
            "id": "clx2f8a1b0001qw3k",
            "username": "valeria",
            "name": "Valeria",
            "image": "https://cdn.dropfans.io/valeria/profile.jpg",
            "accountType": "CREATOR",
            "key": {
              "name": "KVIQA",
              "app": {
                "slug": "kviqa",
                "name": "KVIQA"
              },
              "tier": "app"
            }
          }
        }
      }
    },
    "401": {
      "description": "Missing or invalid API key.",
      "headers": {
        "X-RateLimit-Tier": {
          "description": "Rate-limit tier of the key: personal, app or first_party (first_party is unlimited).",
          "schema": {
            "type": "string",
            "enum": [
              "personal",
              "app",
              "first_party"
            ]
          }
        },
        "X-RateLimit-Limit": {
          "description": "Requests allowed per minute for this key (absent on first_party).",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Remaining": {
          "description": "Requests left in the current minute window.",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Reset": {
          "description": "Epoch seconds when the minute window resets.",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Limit-Day": {
          "description": "Requests allowed per UTC day for this key (absent on first_party).",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Remaining-Day": {
          "description": "Requests left in the current UTC day window.",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Reset-Day": {
          "description": "Epoch seconds when the day window resets.",
          "schema": {
            "type": "integer"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Human-readable message.",
                "example": "Rate limit exceeded"
              },
              "code": {
                "type": "string",
                "description": "Machine-readable code: unauthorized, app_suspended, first_party_only, rate_limited, username_required.",
                "example": "rate_limited"
              }
            },
            "required": [
              "error",
              "code"
            ]
          },
          "example": {
            "error": "Unauthorized",
            "code": "unauthorized"
          }
        }
      }
    },
    "403": {
      "description": "The app this key belongs to has been suspended by Dropfans. Every request fails with this until the app is reinstated — surface it to the creator and contact Dropfans.",
      "headers": {
        "X-RateLimit-Tier": {
          "description": "Rate-limit tier of the key: personal, app or first_party (first_party is unlimited).",
          "schema": {
            "type": "string",
            "enum": [
              "personal",
              "app",
              "first_party"
            ]
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Human-readable message.",
                "example": "Rate limit exceeded"
              },
              "code": {
                "type": "string",
                "description": "Machine-readable code: unauthorized, app_suspended, first_party_only, rate_limited, username_required.",
                "example": "rate_limited"
              }
            },
            "required": [
              "error",
              "code"
            ]
          },
          "example": {
            "error": "This integration has been suspended by Dropfans. Contact the app developer.",
            "code": "app_suspended"
          }
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded for the current minute or day window. Wait Retry-After seconds and retry.",
      "headers": {
        "X-RateLimit-Tier": {
          "description": "Rate-limit tier of the key: personal, app or first_party (first_party is unlimited).",
          "schema": {
            "type": "string",
            "enum": [
              "personal",
              "app",
              "first_party"
            ]
          }
        },
        "X-RateLimit-Limit": {
          "description": "Requests allowed per minute for this key (absent on first_party).",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Remaining": {
          "description": "Requests left in the current minute window.",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Reset": {
          "description": "Epoch seconds when the minute window resets.",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Limit-Day": {
          "description": "Requests allowed per UTC day for this key (absent on first_party).",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Remaining-Day": {
          "description": "Requests left in the current UTC day window.",
          "schema": {
            "type": "integer"
          }
        },
        "X-RateLimit-Reset-Day": {
          "description": "Epoch seconds when the day window resets.",
          "schema": {
            "type": "integer"
          }
        },
        "Retry-After": {
          "description": "Seconds to wait before retrying (sent with 429s).",
          "schema": {
            "type": "integer"
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "Human-readable message.",
                "example": "Rate limit exceeded"
              },
              "code": {
                "type": "string",
                "description": "Machine-readable code: unauthorized, app_suspended, first_party_only, rate_limited, username_required.",
                "example": "rate_limited"
              }
            },
            "required": [
              "error",
              "code"
            ]
          },
          "example": {
            "error": "Rate limit exceeded",
            "code": "rate_limited"
          }
        }
      }
    }
  },
  "x-codeSamples": [
    {
      "lang": "cURL",
      "label": "curl",
      "source": "curl \"https://www.dropfans.io/api/external/me\" \\\n  -H \"Authorization: Bearer $DROPFANS_API_KEY\""
    },
    {
      "lang": "JavaScript",
      "label": "Node",
      "source": "const res = await fetch(`https://www.dropfans.io/api/external/me`, {\n  headers: {\n    Authorization: `Bearer ${process.env.DROPFANS_API_KEY}`,\n  },\n});\nconsole.log(await res.json());"
    },
    {
      "lang": "Python",
      "source": "import os\nimport requests\n\nres = requests.get(\n    \"https://www.dropfans.io/api/external/me\",\n    headers={\"Authorization\": f\"Bearer {os.environ['DROPFANS_API_KEY']}\"},\n)\nprint(res.json())"
    }
  ],
  "x-dropfans-docs": "https://www.dropfans.io/developers/reference/get-me"
}
```

---

Previous: [API reference overview](https://www.dropfans.io/developers/reference/overview.md) · Next: [Read the creator’s timezone](https://www.dropfans.io/developers/reference/get-timezone.md) · All pages: [llms.txt](https://www.dropfans.io/developers/llms.txt)
