message field describing the problem.
Status codes
400 Bad Request: debugging checklist
A400 usually means the request body is missing a required field or contains an invalid value. Work through this list:
401 Unauthorized
The API key is missing or malformed.429 Too Many Requests
You have exceeded the rate limit for your plan. Back off and retry. See Limits for rate limit details. For high-volume sending, use the bulk messages endpoint (recommended max 50 per request) rather than looping over individual/messages calls.