Question

Photo of Clay Gibson

0

API from external site

Hi, we are planning on hosting the public facing site on Square Space and  I am trying to import calendar info to that sight from the Rock RMS, I figured out how to run an API call on a ROCK page when logged in, but I get errors when trying to do this externally.  Is there keys I need to generate or something like that?  I couldn't find any info on it in the API docs.  Any ideas? Thanks!

  • Photo of Miles Carmany

    0

    Hi Clay,

    You will need to create a person in Rock and assign them API access to be your API user.

    https://community.rockrms.com/documentation/bookcontent/9/243#security is a good reference to have on hand when dealing with Rock's security model.

    https://community.rockrms.com/subscriptions/rx2018/using-the-rock-rest-api is a primer on the Rock REST API.

    You should also know that for calendars specifically, you can get an iCal feed. Anything that is public, should be available to consume without needing authentication.