Docs

ElevenLabs API Fields & Errors

ElevenLabs API field selection, and stable error codes — one request shape via MindCloud.

Once your first ElevenLabs request works, use this page to shape real production requests. MindCloud keeps the app-specific API details behind one REST format, so you can control arguments, pagination, filtering, fields, and errors without learning a separate convention for every provider. If you have not connected ElevenLabs yet, start with Connect to ElevenLabs.

Arguments

Arguments are the inputs an action needs. Put them in the JSON body under the arguments field. Each ElevenLabs action page documents its exact argument keys and types. It also shows which arguments are required. Keys are case-sensitive. Requests with missing or invalid required arguments fail.

Request format

Choose a ElevenLabs action and send a POST request to its Universal API run URL. Authenticate with your MindCloud API Key. Put the connection, arguments, and response controls in the JSON body.

PieceWhere it goes
argumentsAn object in the JSON body. Put all action fields inside it.
connectionIdAn optional public connection id in the JSON body. The API selects the default or only valid connection when omitted.
limit, offset, where, sort, fieldsResponse controls in the JSON body.

Field selection

Use the fields body field to return only the response fields your code reads. Use dot notation for nested objects: fields=id,name,profile.email. Selection is applied to each row in data after the response is mapped, and id is kept whenever it exists so rows stay identifiable.

Responses and errors

Every ElevenLabs response is mapped into the same public envelope before it reaches your code: success, your rows in a data array (single-row actions return an array with one item), and optional meta. Failed requests return success: false with a stable code to branch on and a human-readable message:

{
  "success": false,
  "code": "CONNECTION_APP_MISMATCH",
  "message": "Connection \"conn_123\" is not configured for this app."
}

Check the HTTP status first: 401 or 403 for authentication and authorization, 400 for invalid request shape, and 5xx when MindCloud cannot complete the action upstream. Most failures come from a missing API Key, a missing or mismatched connection, or arguments that do not match the action page.