Bulk Operations
Bulk routes move device auth for many bots at once. They are separate from GET /bots and have much lower rate limits.
Import
POST /bots/bulk-import creates up to 100 bots in one request. Needs bots.write. Epic account ids that already exist are skipped, and the request still succeeds. Only new bots count toward the account limit. Each entry in bots includes:
accountId,deviceId,secret(Epic device auth)- optional
nickname(1–16 characters; a random name is generated if omitted)
Optional parent sets one category id for every imported bot. The category must belong to your account.
{
"parent": "66c4b21ecaed451e9f6444d3842954a7",
"bots": [
{
"accountId": "…",
"deviceId": "…",
"secret": "…",
"nickname": "Lobby 1"
}
]
}Limits: 10 requests per 10 minutes with an API token (50 with OAuth2). Each call still respects your account bot cap. Managed categories may allow at most one extra bot per category when importing; exceeding that returns limit_exceeded.
Export
POST /bots/bulk-export returns device auth for all bots on the account. No OAuth2 scope is required beyond a valid API token or session.
{
"deleteAfterExport": false
}When deleteAfterExport is true, bots are removed from FNLB after their secrets are returned. Use that only when you are migrating or backing up intentionally. Response items look like:
{
"accountId": "…",
"deviceId": "…",
"secret": "…",
"nickname": "Lobby 1"
}Limits: 2 exports per 10 minutes with an API token (5 with OAuth2).
When to use bulk
- Migrating from another panel or spreadsheet of device auths
- Backing up before a large account change
- Seeding a new category before self-hosting or the SDK
For day-to-day changes, prefer POST /bots and PATCH /bots/{botId}.