Programmatically Upload File to WordPress Using an API [closed]

WordPress has an XML-RPC interface with it’s own API.

You authenticate by using a standard username and password.

You can use wp.uploadFile to actually send it. See also this StackOverflow question.

There is a new API under development.