Create card with the Miro API

Adds a card, the task item of Miro, to a board and returns it with its id. Without position it goes to the center of the board; inside a frame (parent.id), the position counts from the top-left corner of the frame.

Identifier
miro_create_card

The request

POST https://connect.reportei.com/api/tools/miro_create_card/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json

{
  "customer_toolkit": "<connection UUID>",
  "arguments": {
    "board_id": "<board_id>"
  }
}

Your system sends your customer's connection id and the tool arguments. The headers are the same as the rest of the Connect API: your product's token and your customer's token.

Parameters

ParameterTypeRequiredDescription
board_idstringYesId of the board, from List boards, or the part after /board/ in the URL of the board, which usually ends with an equals sign.
dataobjectNoContent of the card.
styleobjectNoLook of the card.
positionobjectNoWhere the center of the card goes, in pixels. On the board, 0,0 is the center of the board; inside a frame, the top-left corner of the frame.
geometryobjectNoSize and rotation of the card.
parentobjectNoFrame that holds the card.

Supported connections

Your customer connects their Miro account once, with one of the modes below. The same connection serves every tool of the toolkit.

OAuth with your product's app

You register your product's OAuth app once, with POST /api/merchants/credentials/miro, and your customer authorizes the account on a consent screen. Connect renews the token when it is about to expire.

The response

On success, Connect preserves the app's response status and body. HTTP errors returned by the app use the {error, api_error} envelope; authentication or validation can fail before execution. The X-Toolkit-Execution-Id header identifies the recorded execution, available at GET /api/tools/executions/{uuid}.

Ready for AI agents

This tool's input is a JSON Schema, available at GET /api/tools/miro_create_card. It becomes your agent's tool definition with no conversion.

Other Miro tools

See all 12 tools

Toolkits in the same category

See all 100 toolkits

See Connect applied to your product.

Try it for 15 days with no card, or walk our team through your use case.