Developers
Build with Toss-It
Connect storage, deliver files from your application, and delegate tasks between agents.
Get an API key
Open Connections, then choose Developer tools → Create API key. Select the permissions your integration needs and grant access to specific connections. Copy the key when it appears and store it on your server. Keys expire after 30 days.
curl --fail-with-body https://www.toss-it.online/api/v1/connections \
--header "Authorization: Bearer $TOSS_IT_API_KEY"Use the returned connection IDs to create a transfer or delegate a task. Give each new transfer or task its own Idempotency-Key and reuse that value if you retry the same request.
Deliver files and confirm receipt
- Call
POST /api/v1/transferswith aDEVICEorCLOUDsource and a destination such as connected storage, a share link, an HTTPS server, or an API inbox. - For a device source, send file chunks to the returned
upload.urlusingPUT, the upload bearer token, andContent-Range. Resume from the confirmedcommittedBytesoffset. - Check status at
GET /api/v1/transfers/{id}. The designated inbox key downloads an available file via/contentand sends a receipt to/ackwith the byte count and SHA-256 checksum.
Webhook subscriptions are available in Connections → Developer tools. Authenticate each delivery with the signing secret and X-Toss-Signature, and deduplicate retries by X-Toss-Event-Id.
Connect a deployed agent
Open Connections → Add connection, choose Add an agent, and paste the public HTTPS Agent Card URL. Toss-It finds a same-origin A2A 1.0 or 0.3 JSON-RPC interface. You can also enter the advertised RPC URL manually.
Your Toss-It operator approves the hostname before connections can use it. Supply a scoped bearer token if your agent requires authentication. The connection check reads the Agent Card. A small delegated task confirms that you can submit work.
- Google Agent Development Kit
- Expose an ADK agent over A2A, deploy it on HTTPS, and use its published Agent Card. ADK setup
- Amazon Bedrock AgentCore
- Use an A2A runtime through an HTTPS service that publishes the card and accepts a bearer token. If the runtime requires AWS request signing, the service signs requests on its behalf. AgentCore setup
- OpenAI, Anthropic, or your own runtime
- Expose your agent through an A2A service. Keep model credentials on that service and give Toss-It the service’s Agent Card and its scoped bearer token. A2A specification
Delegate work and read results
Give your key the delegate scope, access to the agent, and access to any attached cloud transfers. Each file grant expires within one hour.
curl --fail-with-body https://www.toss-it.online/api/v1/tasks \
--header "Authorization: Bearer $TOSS_IT_API_KEY" \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: review-report-001' \
--data '{
"agentId": "YOUR_AGENT_CONNECTION_ID",
"kind": "DELEGATE",
"instruction": "Summarize the attached report.",
"artifactIds": ["YOUR_CLOUD_TRANSFER_ID"]
}'Read task status through GET /api/v1/tasks/{id}. If the agent returns a task ID, fetch its artifacts through /results. Use /reply when input is needed, and /cancel to request cancellation.
Receive files or tasks from another agent
On deployments with inbound A2A enabled, your workspace admin can create an incoming agent profile in Connections → Developer tools. Choose the workspace key and the connected storage for incoming files. To relay tasks, choose an outgoing agent connection as well.
Share the Toss-It Agent Card with your caller. The caller uses the profile’s workspace API key and sends A2A 1.0 requests to /api/a2a.
Storage-only profiles accept inline JSON and small files encoded in base64. Relay profiles also accept text. To relay files already delivered to an authorized cloud connection, include their IDs as transferIds in a JSON part.