I am currently trying to create a List Item in my SharePoint 2013 online environment using JavaScript Code on an external Website and domain. Basically I have no idea where to start and I am not sure if its even possible because of the cross domain problem.

I know it's a little to much to ask but i would be grateful if you could give me a detailed answer or link me to a similar solution, because i can't seem to find any.

Thank You


3 Answers 3


Only through AZURE OR an APP or ADD-IN can you access content in SP using the REST api (and ADAL)

Most links in the other answer are about making REST calls within the same domain.

I have a similar open question: Is Visual Studio required to built a Front End to write (REST) data into a SharePoint Online list

  • Where did that previous comment mentioning this go?? You are correct, that functionaly opens the door to your OnPrem environment. You can even do that without a high trust app/add-in if you can develop your own middle tier Commented Aug 24, 2015 at 15:04
  • When did the name change from app to add in occur?
    – wjervis
    Commented Aug 24, 2015 at 16:32
  • Couple of weeks ago, Yammer is filled with complaints by SharePoint MVPs who can't handle the new "Agile" Microsoft Commented Aug 25, 2015 at 18:27

If you are trying to access sharepoint data from outside of sharepoint, (ie in a .net application / android app etc), then you need to consume the client object model or the web service exposed by sharepoint.

This Discussion has a pretty detailed explanation towards using authentication.asmx to get a token that can be used for intearaction with sharepoint. You would need to pass credentials in order to get the token.

If you are looking to leverage the CSOM, sharepoint client side API, then you need to add, Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll and then proceed to initialize a context with SharePointOnlineCredentails for o365 enviornment, or NetworkCredentials for sharepoint On Premise enviorment.

You should go through links mentioned by Kaushal in order to get a better idea.


You can do this by multiple ways



Basically i choose REST API to remotely access SharePoint Office2013 Online.

Go through Links





Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.