Skip to content
English
  • There are no suggestions because the search field is empty.

eSPACE API Calls | Keys & Tokens

eSPACE API Documentation: How to see the list and use the API calls that eSPACE offers 

Sections in this article:

The eSPACE API lets your developer pull data from your eSPACE account in raw form and use it in other systems. You'll create an API key, use it to get a token, then use the token to make API calls.

Many companies, including Smart Church Solutions, provide Open API requests for external developers, partners, or customers to creatively use on their own. The types of requests (API calls) that are offered and the information included in them vary from company to company, as different companies allow their customers to interact with their software in different ways.

What the API Is For

  • Your website: many churches pull event information from eSPACE to show on their website in a more customized way than the Public Calendar allows.
  • Other systems: use your eSPACE data in reports or tools your team already uses.

What the API Can't Do

  • Change event or work order statuses. Statuses follow approval rules and permissions inside eSPACE, so a user with the right access must change them in eSPACE.
  • Build your own HVAC, door or digital signage integration. For those, contact support for the list of systems eSPACE already integrates with.

Before You Start

  • Subscription: API access is included in some eSPACE subscription tiers. To check yours, contact support@smartchurchsolutions.com. Admins with billing access can also see your tier under Settings > Other > Billing > Manage.
  • Version: eSPACE offers one API version, v2. It uses JWT (JSON Web Token) for authorization.

Training & Support

  • Using our open API is recommended only for those already familiar with API requests. No training or development support is provided for creating integrations using our API calls.

    • For general questions, contact support (response times depend on your Customer Care plan: Billing :: Customer Care Plan Options).
    • To assist with troubleshooting, email the exact API call and the response you receive when testing in Swagger within your eSPACE account.

 

Step 1: Create an API Key

  1. Open your Profile from the person icon at the top right (or from the left menu).

    1. Keep in mind that whichever admin you create the key under will be assigned the events owner and work order owner when using API calls to create events or work orders.

 

     2. Scroll to the bottom and expand API Keys.

 

     3. Read the information about API keys, then click Create New Key.

     4. Copy the new key and keep it somewhere secure, enter a description you'll recognize (like "Website" or "HR"), then click Save. You can't see the full key again after you save, so copy it first.

 

You can create as many keys as you like. We recommend one key for each system that will make API calls. Each key has the same access as your own login.

 

Step 2: Get a Token in Swagger

  1. Go to Settings > Other > Developer to see the list of API calls eSPACE offers.

 

     2. Read the welcome information, then scroll down to the swagger bar. We only offer V2 of API calls so that is the one that should be selected.

    3. Scroll to /api/v2/requesttoken, then:
    1. Click Example Value.
    2. Replace the zeros with your API key.
    3. Click Try it out.
    4. Copy the long string of letters and numbers between the quotation marks in the Response Body.

 

      4. Paste that token in the box to the left of Explore at the top of the page, then click Explore.


 

   5. As you can see Version 2 uses JWT (Java Web Token) for authentication instead of Basic Authentication (HTTP based).

 

Step 3: Test API Calls

  1. Now you start using API calls as well as test any in Swagger. When you expand each one you will see a template of what data is included in that API call.
  2. Updating Event or Work Order Statuses via the API: Status for events and work orders are NOT meant to be updated directly via API. Status transitions for events and work orders are driven by business rules and permissions in the app and therefore must be changed in eSPACE by an appropriate user.

Getting Help

  • Using our open API requests is recommended for those who already have a good working knowledge of API requests, as there is no training available on this subject.
  • We recommend that customers work with someone who is knowledgeable on how API calls work both for the initial setup, long-term use, and for any troubleshooting that may need to happen down the road.