If you sent any message via API, you may check under All Sent Items under Sent Items along with status codes whether that message has been sent. If you are using Postman or any other tool for running APIs, then you may get the error response or success response there itself along with Error codes.