apicheats.dev Cheat sheet Raw .md
POST

Try POST /v1/workspace/resources/{resource_id}/share — ElevenLabs API

ElevenLabs playground

Share Workspace Resource

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.elevenlabs.io; the proxy stores and logs nothing about them.

Path

Body application/json

5 body fields
  • role · required · string — Role to grant to the target: one of 'admin', 'editor', 'commenter', or 'viewer'.
  • resource_type · required · string — Resource types that can be shared in the workspace. The name always need to match the collection names
  • user_email · optional · string — The email of the user or service account.
  • group_id · optional · string — The ID of the target group. Use 'default' to set the resource's baseline role — every workspace member receives this role unless they hold a higher one through a direct user grant, group membership, or workspace (service account) API key.
  • workspace_api_key_id · optional · string — The ID of the target workspace (service account) API key. This is not the API key string itself that you pass in the header for authentication — it is the key's ID, which workspace admins can find under Developers → Service Accounts.