Skip to content
Communication/messaging

trashnothing.com

trash nothing sandbox and mock API

This is the REST API for [trashnothing.com](https://trashnothing.com). To learn more about the API or to register your app for use with the API visit the [trash nothing Developer page](https://trashnothing.com/developer). NOTE: All date-time values are [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time) and are in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) (eg. 2019-02-0 Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
76
Collections
-
Event types
-
example request
curl https://your-trashnothing.slurry.io/api/v1.3/conversations \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 1.3.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

First 12 of 76.

  • GET/conversations
  • PUT/conversations/archive-all
  • PUT/conversations/mark-all-read
  • GET/conversations/search
  • DELETE/conversations/{conversation_id}
  • PUT/conversations/{conversation_id}/archive
  • PUT/conversations/{conversation_id}/block
  • PUT/conversations/{conversation_id}/mark-read
  • GET/conversations/{conversation_id}/messages
  • POST/conversations/{conversation_id}/reply
  • POST/conversations/{conversation_id}/report
  • PUT/conversations/{conversation_id}/unarchive