---
title: "REST API"
description: "Every operation: parameters, bodies, answers and errors."
url: "https://docs.yoagent.dev/reference/rest-api"
---

# REST API

Every operation of YoAgent’s REST API at `https://api.yoagent.dev/v0`, built from the API itself. Each call takes an API key (below). What every call shares — errors, pages of a list, retries — is in [API and MCP conventions](https://docs.yoagent.dev/reference/conventions); the whole description is [openapi.json](https://yoagent.dev/openapi.json).

## Operations

GET

[/v0/inboxes](https://docs.yoagent.dev/reference/rest-api/operations/listinboxes)

POST

[/v0/inboxes](https://docs.yoagent.dev/reference/rest-api/operations/createinbox)

POST

[/v0/inboxes/delete](https://docs.yoagent.dev/reference/rest-api/operations/deleteinboxes)

GET

[/v0/inboxes/{inbox_id}](https://docs.yoagent.dev/reference/rest-api/operations/getinbox)

DELETE

[/v0/inboxes/{inbox_id}](https://docs.yoagent.dev/reference/rest-api/operations/deleteinbox)

PATCH

[/v0/inboxes/{inbox_id}](https://docs.yoagent.dev/reference/rest-api/operations/updateinbox)

POST

[/v0/inboxes/{inbox_id}/messages/send](https://docs.yoagent.dev/reference/rest-api/operations/sendmessage)

POST

[/v0/inboxes/{inbox_id}/messages/{message_id}/reply](https://docs.yoagent.dev/reference/rest-api/operations/replytomessage)

POST

[/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all](https://docs.yoagent.dev/reference/rest-api/operations/replyalltomessage)

POST

[/v0/inboxes/{inbox_id}/messages/{message_id}/forward](https://docs.yoagent.dev/reference/rest-api/operations/forwardmessage)

GET

[/v0/messages](https://docs.yoagent.dev/reference/rest-api/operations/listmessages)

GET

[/v0/messages/wait](https://docs.yoagent.dev/reference/rest-api/operations/waitformessage)

POST

[/v0/messages/update](https://docs.yoagent.dev/reference/rest-api/operations/updatemessages)

POST

[/v0/messages/delete](https://docs.yoagent.dev/reference/rest-api/operations/deletemessages)

GET

[/v0/messages/{message_id}](https://docs.yoagent.dev/reference/rest-api/operations/getmessage)

DELETE

[/v0/messages/{message_id}](https://docs.yoagent.dev/reference/rest-api/operations/deletemessage)

PATCH

[/v0/messages/{message_id}](https://docs.yoagent.dev/reference/rest-api/operations/updatemessage)

GET

[/v0/messages/{message_id}/raw](https://docs.yoagent.dev/reference/rest-api/operations/getrawmessage)

GET

[/v0/messages/{message_id}/attachments/{attachment_id}](https://docs.yoagent.dev/reference/rest-api/operations/getattachment)

GET

[/v0/messages/{message_id}/links](https://docs.yoagent.dev/reference/rest-api/operations/getmessagelinks)

GET

[/v0/messages/{message_id}/codes](https://docs.yoagent.dev/reference/rest-api/operations/getmessagecodes)

GET

[/v0/threads](https://docs.yoagent.dev/reference/rest-api/operations/listthreads)

GET

[/v0/threads/{thread_id}](https://docs.yoagent.dev/reference/rest-api/operations/getthread)

DELETE

[/v0/threads/{thread_id}](https://docs.yoagent.dev/reference/rest-api/operations/deletethread)

PATCH

[/v0/threads/{thread_id}](https://docs.yoagent.dev/reference/rest-api/operations/updatethread)

GET

[/v0/inboxes/{inbox_id}/labels](https://docs.yoagent.dev/reference/rest-api/operations/listinboxlabels)

POST

[/v0/labels](https://docs.yoagent.dev/reference/rest-api/operations/createlabel)

POST

[/v0/labels/delete](https://docs.yoagent.dev/reference/rest-api/operations/deletelabels)

GET

[/v0/labels/{label_id}](https://docs.yoagent.dev/reference/rest-api/operations/getlabel)

PATCH

[/v0/labels/{label_id}](https://docs.yoagent.dev/reference/rest-api/operations/updatelabel)

GET

[/v0/domains](https://docs.yoagent.dev/reference/rest-api/operations/listdomains)

POST

[/v0/domains](https://docs.yoagent.dev/reference/rest-api/operations/createdomain)

GET

[/v0/domains/{domain_id}](https://docs.yoagent.dev/reference/rest-api/operations/getdomain)

DELETE

[/v0/domains/{domain_id}](https://docs.yoagent.dev/reference/rest-api/operations/deletedomain)

PATCH

[/v0/domains/{domain_id}](https://docs.yoagent.dev/reference/rest-api/operations/updatedomain)

POST

[/v0/domains/{domain_id}/verify](https://docs.yoagent.dev/reference/rest-api/operations/verifydomain)

GET

[/v0/webhooks](https://docs.yoagent.dev/reference/rest-api/operations/listwebhooks)

POST

[/v0/webhooks](https://docs.yoagent.dev/reference/rest-api/operations/createwebhook)

GET

[/v0/webhooks/{webhook_id}](https://docs.yoagent.dev/reference/rest-api/operations/getwebhook)

DELETE

[/v0/webhooks/{webhook_id}](https://docs.yoagent.dev/reference/rest-api/operations/deletewebhook)

PATCH

[/v0/webhooks/{webhook_id}](https://docs.yoagent.dev/reference/rest-api/operations/updatewebhook)

GET

[/v0/webhooks/{webhook_id}/attempts](https://docs.yoagent.dev/reference/rest-api/operations/listwebhookattempts)

GET

[/v0/projects](https://docs.yoagent.dev/reference/rest-api/operations/listprojects)

POST

[/v0/projects](https://docs.yoagent.dev/reference/rest-api/operations/createproject)

PUT

[/v0/projects/order](https://docs.yoagent.dev/reference/rest-api/operations/reorderprojects)

DELETE

[/v0/projects/{project_id}](https://docs.yoagent.dev/reference/rest-api/operations/deleteproject)

PATCH

[/v0/projects/{project_id}](https://docs.yoagent.dev/reference/rest-api/operations/updateproject)

GET

[/v0/me](https://docs.yoagent.dev/reference/rest-api/operations/getme)

GET

[/v0/api-keys](https://docs.yoagent.dev/reference/rest-api/operations/listapikeys)

## Authentication

### ApiKey

An API key of your organization (the dashboard’s API keys page), sent as `Authorization: Bearer <key>`. The tokens MCP clients get by OAuth are for `/mcp` only.

**Security scheme type:&#x20;**&#x68;ttp
