Developers

Mostly about Wild Apricot API. Feel free to share examples of your code!

How can we make it easier for you to develop on top of Wild Apricot?

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. API endpoint for allowing users to cancel registrations

    The new feature added today to allow users to cancel their own registrations is a good start, but we need to be able to set it through the API for it to really be useful. Is there a plan to add this in the near future?

    4 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

      3 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
    • Event registration types created via API cannot be edited in the web interface

      It is no longer possible to edit an event registration type in the web UI if it was created via an API call. Attempting to load these registration types causes Uncaught Error: Invalid cancellationBehavior to be thrown in the console and the page spins forever without loading.

      Unfortunately due to the asinine piecemeal implementation of the API it is only possible to set this field through the web interface. See the issue? Yet another reason why you should use your own dang API; you could catch these issues before they break your customers' workflow and piss them off.

      Console log…

      1 vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

        0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

        An ability to setup cancellation options will be added to the API in the next release – approximately at the end of the month. It’ll fix this issue also.

        Currently, we fixed all broken registration types (the cancellation option was set to “not allow”) but unfortunately new ones will be created with the same problem for now.

      • Monthly list of new users

        I am attempting to create a google doc for our Printing/Mail vendor to easy grab info on the members that renwed or signed up in the last 30 days. The idea is the vendor would just open this share google doc once a month, run the report, export the data.

        I am using your example from: https://github.com/WildApricot/ApiSamples/tree/master/GoogleScript

        function getCardData(){
        Logger.clear();

        var ui = SpreadsheetApp.getUi();
        var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
        var urls = urlBuilder();

        var token = getToken(ui, urls.getAuthServiceUrl());
        var accountId = getDataFromApi(urls.getAccountsListUrl(), token)[0].Id;
        var filter = '\'Renewal date last changed\' ge 2017-10-01 AND \'Mebership Status\' eq Active'
        var query = getDataFromApi(urls.getCardDataUrl(accountId,…

        2 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

          0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
        • Swagger

          Has anyone built an OpenAPI (Swagger) file for connecting to WA APIs? I'm trying to make a sign-in kiosk with Microsoft PowerApps and it connects through a JSON OpenAPI definition.

          2 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

            2 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
          • Postman collection

            I previously posted about whether anyone had written a Swagger file for WA API that could be used to connct Microsoft PowerApps to WA. New release of PowerApps supports using a Postman collection instead of a Swagger file. Has anyone built a Postman collection for WA API?

            1 vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
            • Single sign on for Moodle

              Has anyone successfully setup single sign in authentication between WA and a Moodle installation? Looking for some guidance/assistance. Thanks in advance -

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

                1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
              • How can I sync WA API and Azure Active Directory?

                We are looking at using WA with Office 365 to collaborate with our members. Office 365 uses the Azure AD environment which accepts most setups. My question is how we could export WA member data to Azure AD as 'B2B external partners' or, better yet, native AD accounts.

                1 vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  Collecting comments  ·  1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                • API with non-administrative permissions

                  Original title: Cannot access API from within site pages if not Administrator.

                  Hi,

                  I have written JavaScript/HTML in a WildApricot site page to display events as a compact list in a table.

                  If I login to an administrator account it all works fine, if I login to a non administrator account I get error 403 returned from a get Events API call.....

                  "Failed to load resource: the server responded with a status of 403 (Current token does not provide access to scope 'events_view'.)"

                  Code snippet is:
                  <script>

                  generateTable();

                  function generateTable()
                  {
                  var EventsList = getDataFromApi("https://xxxxx.wildapricot.org/sys/api/v2/accounts/xxxxxx/Events?$sort=StartDate asc&$filter=Tags in [training,cruising,racing,racing_crew] AND…

                  3 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    12 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

                    We are still working on “API for members”, however we already silently published beta version of it.

                    While building this API we tried to keep all important information in swagger format.
                    Help pages are not ready yet, so the only source of information is swagger spec. You can find swagger file here:
                    https://api.wildapricot.org/ui/swagger/publicAccess

                    In order to play with API you could use swagger UI located here: https://api.wildapricot.org/content/swagger/?url=/ui/swagger/publicAccess or import swagger file into POSTMAN

                    Since the “API for members” is still in beta, Wild Apricot does not provide any kind of support for it (really, our support team is not ready for such questions yet). However development team carefully monitor this forum. If you have any questions regarding this API, please post your questions in this forum thread or as separate topic.

                  • Event creation via API cannot set all fields

                    I am creating Events using the API and cannot see how the following fields can be set (I can set these as an Administrator in the website) .....
                    Show registrants who want to be listed
                    to everyone
                    to members only
                    Include pending registrations

                    Also I cannot see how the schedule for email announcements and reminders for an Event can be set via the API?

                    2 votes
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      3 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

                      Status update in case someone new will see this topic:
                      The section “Show registrants who want to be listed” have been added to API already.

                      Schedule for email announcements and reminders can’t be set via API at the moment.

                      As a workaround, you could create a template event on the web, set the start date in the distant future and all settings you need. Then you can clone it via POST request:
                      api.wildapricot.org/v2/rpc{AccountId}/CloneEvent
                      The request body should be like this:
                      {“EventId”: 123456}

                    • How can I get new member signup information?

                      I need to get new member details into Drip.co. How do I go about doing that?

                      1 vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        Collecting comments  ·  2 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                      • Nicasio Design APP

                        We are getting very close to launching a comprehensive member facing APP which will allow members to:
                        1- download the APP
                        2- Login or Register to your org
                        3- View and Register to events
                        4- Edit their profiles
                        5- Browse member directory

                        Stand by for updates!

                        2 votes
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          Collecting comments  ·  1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                        • Filtering Account Administrators

                          How can I return a list of just account administrators?

                          Using the API Browser, I tried both

                          $filter=IsAccountAdministrator eq true

                          and

                          $filter="Administrator role.Id" eq 256

                          both return this cryptic error:

                          ErrorDetails: "One or more errors occurred."

                          0 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            2 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →

                            Filtering of account admihnistrators is not supported yet. If you are not sure that filtering for some field is supported, then you can look at contact field description. ‘Administrator role’ field has flag “SupportSearch”: false. That’s why filtering fails.

                            We will implement such filtering in one of future updates.

                          • “AccessLevel” filter for events

                            Creating a separate request based on a comment in another one: "Please also add the “AccessLevel” filter for events"

                            0 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              Collecting comments  ·  0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                            • API Event Registrations - Support filters beside list of ID's ?

                              Does anyone know if the event registration call supports filters other than the list of ID's mention on the help page.

                              Events can be filtered much like contacts but it does not specify for event registrations.

                              I want to limit the list of registrations returned for a contact to only those today or later.

                              2 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                0 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                              • 1 vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                                • Trigger API call on Contact Change?

                                  I would like to use the V2 API to automatically send updates to a FileMaker Pro database (and maybe others in the future) whenever certain fields in a Contact are changed such as name, address, email, etc.

                                  The documentation on the API is clear and I can manually launch such a PHP program from the browser, but I need to automate the process so whenever a user or an administrator updates a contact record, the PHP program is invoked behind the scenes.

                                  Is this possible?

                                  Thanks in Advance,

                                  -Jason Pryde

                                  7 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    Collecting comments  ·  6 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                                  • API v2 Events - AccessLevel and Sorting

                                    Hi,

                                    I'm using the API v2 to extract Events for a custom event list in another site. So far, the API is working.

                                    I can get a list of event objects, but they seem to be in the order in which they were entered, not in the order of their dates! (date order should be the default sort, IMHO) Is there a way I can specify the sort order in the request URL?

                                    Also, the API returns ALL events regardless of access level: is there a way to restrict the returned set to be just public events?

                                    Thanks.

                                    1 vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      3 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Sample Excel File for API Connect to WA Make Available for Excel for MAC [14851]

                                      It seems that the Sample Excel file for importing data from Wild Apricot was developed in Excel for WIndows. The Import Data macro does not compile because of a Missing:Microsoft XML,v3.0 reference. This XML object is only available in Excel for Windows.

                                      Wild Apricot states that it will not be supporting this Excel file at all. That leaves out all MAC users.

                                      I have not been able to find any suggestions on line on how to run this Macro or replace the XML object.

                                      1 vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Extend functionality of sample Excel file

                                        I will start this post off by saying that I am not a designer or coder, and that will probably be evident by my questions!

                                        I love the new contact record API and using the supplied Excel file I was able to pull our membership database.

                                        My question is this: Is it possible to set up the file to pull just members from a specific region or state and not the entire pool of members? The file for the full membership was around 6mb and took several minutes to run. I'd like to be able to narrow the query so…

                                        1 vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                                        • VBA example of doing updates via API v2

                                          Does anyone have an example of doing updates via the new API version 2 in VBA? I was successfully able to make the PHP code work, but now want to do updates from an Access database.

                                          0 votes
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            Collecting comments  ·  1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Developers

                                          Feedback and Knowledge Base