You could create tickets using API and also simultaneously update ticket fields in the ticket. To create tickets via API from a remote location, you can make use of the documentation mentioned in this article.

We also have a full-fledged API documentation that would help you with all the possibilities of Freshdesk's API.