+ Start a Discussion
Ryan PanosRyan Panos 

Apex only for force.com hosted apps?

Is this use of Apex only permitted on “native” applications that are hosted on force.com?  Or is Apex also available for external applications to hit the “Open APIs” such as REST API and Bulk API?
Best Answer chosen by Ryan Panos
The answer to your question is below :-

Apex is language dependent on Force.com platform,you can't run Apex other than Force.com platform. But,the Rest API webservices which you would create using Force.com platform can be accessible by any external application.

Regarding your Bulk API question,it is a feature provided by salesforce to run bulk operation so that you can perform operations on large volume of records and you don't hit your Standard APIs limit.It is not like any Open APIs like SOAP or Rest API,it's a feature of salesforce.

To learn more about Bulk API,go through below link :-



Hope this helps !!