Integration with the API