/api/v1/instagram/messages
Request bodyrequired
| connectedAccountIdrequired | string · uuid Connected account to act as |
| identityrequired | string Username without @. |
| textrequired | string |
| attachmentsoptional | object[] Files to send alongside the text. |
Response
201Send result.
| result | object
| ||||||||
| remainingUsage | object Remaining allowance for this action on the connected account across hourly, daily, and weekly windows, and its minimum wait. Each action type has its own limits.
| ||||||||
| requestId | string · uuid Id of this request, for support and troubleshooting |
Errors
- 400: Bad request
- 401: Unauthorized: missing or invalid API key
- 403: Forbidden
- 404: Not found
- 422: Invalid request payload
- 429: The call came before the minimum wait for this action ended, or the account has reached its limit. For the minimum wait, `data.reason` is `min_wait`, `data.minWaitSeconds` is how long the wait is, and `data.retryAfterSeconds`, also sent as the Retry-After header, is how much of it is left. For a limit, `data.period` names the window: `hour`, `day` or `week`, and `data.retryAt` says when to try again.