# Send an Instagram message

### Send an Instagram message

`POST /api/v1/instagram/messages`

Operation ID: `sendInstagramMessage`

**Request body** (required)

- `connectedAccountId` (string · uuid, required): Connected account to act as
- `identity` (string, required): Username, provider id, or profile URL
- `text` (string, required)
- `dryRun` (boolean, optional)

**201**: Send result.

- `result` (object | null, required)
  - `providerMessageId` (string | null, required)
  - `conversationId` (string | null, required)
  - `sentAt` (string · date-time, required)
- `remainingToday` (integer, required)

**Errors**

- `400`: Bad request
- `401`: Unauthorized: missing or invalid API key
- `403`: Forbidden
- `404`: Not found
- `422`: Invalid request payload
