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. How to drive the saggerhub api

    Hi. It appears that I should be able to use swaggerhub to pull data from my WA database with the API, but I can't figure out how to do this because the code in the code window of swagger is 'read only'. I can see that I have to change it so that it points to my WA site, and although I have an option to enter API key to authenticate, there seems no way to change the site. Help appreciated

    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 Where to to store and retrieve custom data, for a custom member group sign up sheet

      Description of project:
      Members sign up for an activity on a list, once signed up activity is not visible to other members. Admin page that allows admin to see all who have signed up and create to activities to add to the list.

      Member views:

      Page for specific member group. this page will be list of available activities/item for these group members to select. one member can been associated to an item on the list. Once an item has been selected by a member of this specific group only the member who selected the item can see the item with…

      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

        6 comments  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
      • Best way to add featured images functionality to blog posts

        I need this basic requirement for the website, which has 2 components:

        1. Add an image select field in the Blog post -> Create new entry form

        2. Allow the image selected from #1 to be accessible in the Recent blog posts gadget

        I'm a developer - I do whatever custom work needs to be done, but I want to know is this even possible working within Wild Apricot's system? Is it possible with theme overrides? What would be the "correct" way of achieving this?

        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  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
        • 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…

          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

            4 comments  ·  API  ·  Flag idea as inappropriate…  ·  Admin →
          • Combine Reorder pages, Position in menu & Page template selections into a single admin window

            It is time to combine/merge the following site pages admin functions into a single admin window within the Website admin tab. Currently each website & system page has to be edited individually when moving the page into or out of the website menu system and when changing assigned page template. This can be time consuming when trying to move large volumes of pages in or out of the menu system or when changing templates. The Reorder pages function only allows the movement of page that are already in the menu system and doesn't account for any page not in the…

            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  ·  Flag idea as inappropriate…  ·  Admin →
            • Redirect top menu item to a system page

              I want a Top Menu Item called 'Member Login' to redirect to the 'Authorization Required' system page.

              How do I do this?

              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  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
              • Registering for pre-recorded video/Creating a video library

                We are filming the speakers at our events and want to make it available to members for later use. I an housing large videos on Google Drive, so no problems there.

                I want to know how many members are accessing the files, so naturally I am creating an event so they can register and then sending a link (to Google Drove) to users in the confirmation.

                1. How can I create an "evergreen" event with no expiration dates?
                2. Is is possible to create a "library page, where a registration process takes place before user gets the link?

                I'm not…

                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  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
                • HTTP 404 bad request for oAuth token

                  I have html page to get email and password from user and i want to send these criedentials to this url (https://oauth.wildapricot.org/auth/token) with the help of ajax request. i am getting bad request error from server. my request is $.ajax({
                  type: 'POST',
                  url: 'https://oauth.wildapricot.org/auth/token',
                  data: "grant_type=password&username=testim@test.com&password=123456&scope=auto",
                  dataType: "text",
                  contentType: 'application/x-www-form-urlencoded; charset=utf-8',
                  xhrFields: {
                  withCredentials: true
                  },
                  //crossDomain: true,
                  headers: {
                  'Authorization': "Basic " + window.btoa(settings.clientId + ':' + settings.clientSecret),
                  "Content-Type": "application/json"
                  },
                  //beforeSend: function (xhr) {
                  //},
                  success: function (result) {
                  var token = result;
                  },
                  //complete: function (jqXHR, textStatus) {
                  //},
                  error: function…

                  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 →
                  • OAUTH - Not getting back authorization token

                    Perhaps someone in this forum can help answer this question. There aren't any OAuth exampels for PHP.

                    My code is failing on the last ajax call to the OAuth API. I am getting a NULL response from Wild Apricot.

                    Perhap someone can let me know what is wrong withthis code:

                    $credentials = '[client_id]:[secret]';

                    //extract data from the post
                    //set POST variables
                    $url = 'http://oauth.wildapricot.org/auth/token';
                    $fields = array(
                    'grant_type' => "authorization_code",
                    'code' => CCGetParam("code",0),
                    'client_id' => '[client_id]',
                    'redirect_uri' => "https://[domain.com]/login2.php",
                    'scope' => 'contacts_me'
                    );

                    //url-ify the data for the POST
                    foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&';…

                    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  ·  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 →
                      • IFrame Integration with WP

                        So I am working on a client site that uses WA as their membership management system. Their site is actually located in WP and therefore I used iframes to integrate events, member directory, and so on. Problem is that I do not want a scroll bar and I do not want the iframe to get cut off at the height I set for it. I tried using height="auto" or Height="100%" but these shrink the iframe up and then it creates a scroll bar. Currently I have the iframe height set up high in pixels so it does not run out…

                        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  ·  How to  ·  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 →
                            • change system page colors

                              How can I change the color of menu items on system pages? For example, the current color is blue; I want to change it to red.

                              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  ·  How to  ·  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 →
                                    • Database format of guest that attend event based on sign in list so it can be entered in PC file

                                      Hand write data retrieved after community event is over for guest that attended and signed in and contact info so it can be electronically processed in organizations data entry

                                      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  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
                                      • I am redirecting one page to another website. How do I make this open a new window?

                                        I am redirecting one page to another website. How do I make this open a new window rather than leave the member site?

                                        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  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Video Content for paying members

                                          I am going to post videos of our meetings on our website. I want to restrict access to those videos to only paid members.

                                          The videos will be 1 hour in length so they will be large.

                                          I am willing to pay for a third party service and do some one time development, but i want the process of uploading a new video to be something that a non-technical (yet competent) user can do. I want to restrict the video to paying members (we will have non-paying members as well).

                                          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

                                            6 comments  ·  How to  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3
                                          • Don't see your idea?

                                          Developers

                                          Feedback and Knowledge Base