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. Connecting to PowerApps with Swagger

    I've downloaded the Swagger file for administrative access and imported into PowerApps in an attempt to create a custom connector. It asks for several fields (see screen shot in attached file).

    I'm not clear on two of the fields to fill in.

    For Authorization URL, it is showing a default of:

    https://YOUR_ORGANIZATION.wildapricot.com/sys/login/OAuthLogin

    I'm not sure what I should replace YOUR_ORGANIZATION with.

    It is also requesting a Refresh URL and I don't know what to put in there.

    Any help would be appreciated. A documented PowerApps connector would be of general use to the WA community and I'd be happy to…

    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 →
    • Access registrants who are on the waitlist via API

      We need to be able to export the list of registrants who are on the waitlist. If a course (event) is full, we want to be able to pre-register waitlisted people the next time that we offer the course.
      Currently we have to copy-and-paste from the full event to the next event, a tedious and error-prone activity.

      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 →
      • Provide a working example using XML and Access 2016

        I am converting an existing (working) application based on the excel example provided by Wild Apricot to work with Access instead of Excel. All I need from the API is to download a list of members. I've found that the Excel code does not work with Access. I've found many workarounds on various VBA boards, but I'm stymied at the final step of actually downloading the XML for the membership roster.

        These three lines of code from the LoadContacts sub are the problem. The dim statement does not compile in Access. The error is that the 'user defined type is…

        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 →
        • Using API on MS Access 2016

          I extended the excel sample API V2 app to develop an attendance system for our club. For a number of reasons, we're working to move off of Excel and onto Access. The sample code from WA runs smoothly on Excel, but not on Access. The sample includes the following (in function GetOAuthToken)

          Dim httpClient as IXMLHTTPRequest
          Set httpClient = CreateObject("Msxml12.XMLHTTP.3.0")
          httpClient.Open "POST", url, False

          (where url = "https://oauth.wildapricot.org/auth/token")

          The client.open returns 'unauthorized'. I cannot find any documentation on the open method of the httpclient object. And I have no idea what extra authorization I need when working in…

          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 →
          • Orders-products vs Payments?

            Hi Everyone,

            I would like to integrate shop orders and payments with an external platform, this means whenever a user buys a digital product through the store, the content is unlocked in the external platform.

            I'm digging around the API and found a complete API for payments and invoices but, unfortunately, payments and invoices don't have any relationship with orders and products.

            Are this unimplemented methods of the API?

            Thanks in advance for any response

            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 →
            • Single Sign On Very simple Ruby on Rails snippet

              Hello,
              I have been able to implement bare bones Wild Apricot single sign on steps in a blank Ruby on Rails project, thanks to Wild Apricot support! Please find attached a redacted and commented version of the code here for anyone who is trying to do similar with their own custom web app. This snippet prints out the ID of the user who is signed in.
              Cheers!

              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

                1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
              • Anyone having problems getting 502 (bad gateway) response from API?

                I am continually getting 502 responses from the API but they are inconsistent. Some requests go through without a problem but at another time, the same request that worked, say 20min ago returns a a 502. I am trying to isolate the problem but i don't know where to start. I have not changed anything in the header, url, or the url parameters. It seems the API just stops processing my requests.

                I'm using Postman and I have also written some PHP scripts based on the PHP samples provided on Github.

                Has anyone had this experience? I would like to…

                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 →
                • I have successfully integrated the WA API into Integromat

                  Integromat.com is like Zapier or IFTT but a bit more powerful AND easy to use. I'm added an authorization Connector and two modules for retrieving and filtering Contacts. Using their Slack integration I can now ask for Integromat to calculate a Membership Report and report back to Slack. Next up is a "new member" notification.

                  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

                    2 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                  • 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?

                    5 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,…

                        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

                          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

                              1 comment  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
                            • 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

                                  3 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

                                    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

                                        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 →
                                          ← Previous 1
                                          • Don't see your idea?

                                          Developers

                                          Feedback and Knowledge Base