Pachca icon

Pachca

Interact with Pachca API

Bot → Get Many Tokens

AI-generated

Summary

Retrieve multiple tokens associated with a specified bot by its ID, optionally returning all or limiting the number of tokens, with an option to simplify the response to key fields.

Inputs

  • ID (required) — The numeric ID of the bot whose tokens you want to retrieve.
  • Return All — Boolean to specify whether to return all tokens or limit the number returned.
  • Limit — Maximum number of tokens to return when not returning all; valid from 1 to 50.
  • Simplify — Boolean indicating whether to return a simplified response with only key fields or the full token data.

Output shape

a list of token objects associated with the specified bot, either complete or simplified based on the Simplify input.

If Return All is false, results are limited by the Limit parameter (maximum 50). The Simplify option reduces response fields to key identifying data. Access to this operation requires owner, admin, or user roles for the bot.

Links

Discussion