The API returns the appropriate HTTP status code. The status code indicates whether the API request succeeded (for example, 200 OK) or failed (for example, 401 Unauthorized). If it failed, the API returns an error response with additional information (see Errors).