Pachca icon

Pachca

Interact with Pachca API

Bot → Get Scopes

AI-generated

Summary

Retrieve the scopes (permissions) associated with a specific bot identified by its ID, optionally returning a simplified version of the scopes data.

Inputs

  • ID (required) — Bot ID as a number, identifying the bot whose scopes to retrieve.
  • Simplify — Boolean flag to return a simplified version of the response containing only key fields instead of all detailed scope fields.

Output shape

a JSON object or array representing the bot's scopes; shape depends on the Simplify flag.

If 'Simplify' is true (default), the response is a reduced version containing only key scope fields. Otherwise, all scope-related data fields are returned. The operation requires owner, admin, or user roles, as noted, indicating appropriate permissions must be granted. The response may differ in structure depending on backend implementation and API version used.

Links

Discussion