# Send a DM (/zh/growsocmed/docs/api-reference/inbox/send-message)

Send a DM: text and/or one photo (≤ 8 MB) or video (≤ 25 MB) from the media library, only within 24 hours of the person's last message. A message Instagram refuses is kept as failed (retry it).

POST /inbox/conversations/{id}/messages

```json
{
  "tags": [
    "Inbox"
  ],
  "summary": "Send a DM",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "uuid"
      },
      "required": true,
      "name": "id",
      "in": "path"
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "text": {
              "type": "string",
              "minLength": 1,
              "maxLength": 1000
            },
            "media_id": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "message_id": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "ok",
              "message_id"
            ]
          }
        }
      }
    }
  },
  "operationId": "send-message",
  "description": "Send a DM: text and/or one photo (≤ 8 MB) or video (≤ 25 MB) from the media library, only within 24 hours of the person's last message. A message Instagram refuses is kept as failed (retry it)."
}
```