Skip to content

Developers

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

99 results found

  1. Retrieve registrant AND guest data with single API call?

    I'm using the GET /accounts/{accountId}/eventregistrations API to retrieve the list of registrants. I also have a large number of guests. The only way to retrieve detailed guest info is to make individual calls to the registrant API, find whether they have any guests then make individual calls for each guest.

    Is there any way to use a single API call to retrieve all registrant and guest info in one call, to speed things up and make fewer calls, maybe using $filter? Based on the SWAGGER API reference it doesn't seem possible, but doesn't hurt to ask.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. API version changes

    I see that Wild Apricot API v8.03 has just been released. Where can I see the changes from the previous version?

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. Should idsOnly observe $top query variable

    When retrieving events via the api if the query variables include $top => 10 and 'idsOnly' => 'true', should this only return 10 Ids or does the 'idsOnly' argument only return the Ids of all the events? I am finding that it observes the $filter arguments but not the $top number of events to return. Now if I don't include idsOnly (or set it to false), it observes the $top variable and returns the number of events specified.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. Contact.ID for new member broken webhook broken

    For WebHook updates on new membership changes (Membership.Status=20) the JSON message for the notification used to set the "Contact.ID" to the value of the contact, now it set's it to "0". I assumed this change was not the expected behavior as it makes this message useless (I would have to scan all members to find the new one). The documentation clearly shows that the Contact.ID is set to a valid value and no indication of a special case where it is set to "0" (https://gethelp.wildapricot.com/en/articles/1670-webhooks)

    This is what it used to send to the WebHook endpoint (redacted and…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. CERTIFICATE_VERIFY_FAILED

    Hi
    I am trying to authenticate with contact credentials via https://oauth.wildapricot.org/auth/token

    A few days ago, this was working, but now the same code gives this error:

    SSL: CERTIFICATEVERIFYFAILED] certificate verify failed: self signed certificate in certificate chain

    Any ideas?
    thanks
    Angus

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. Access the URL for file attachments, after retrieving the "data-resource-id" string.

    Currently Make (Integromat) can access members and get the "data-resource-id" string. We need to get the URL for the file also so we can download the file.

    <li class="linksContainerLi" data-resource-id="717587" data-resource-name="TN_Payments-Breakdown_created-2-24-2023_35297767.xlsx" id="id717587">
    <a class="fileName" target="_blank" href="https://combinebh.org/resources/document/uTljNHN_T9II2VPclRSi4cGDjp-nxg9i6QEHVACDQ1pJhLHvIR4skYXFUd-grJCMcUeXEyAwr6NCl7iddFPFEA2">TNPayments-Breakdowncreated-2-24-2023_35297767.xlsx</a>
    <span class="fileSize">(17.43 KB)</span>
    </li>

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. Bulk upload profile pictures and company logos

    We have about 2,000 members that we are migrating from a previous membership management system. Importing member profile data has been easy. But we can't see a way to import the images for their profile avatars and company logos. I can see that there is a "Pictures" API call to upload image files but I don't see a way to associate the uploaded pictures with either the member's profile avatar to organization logo.

    Seems like this would be a really common need for migrations. Perhaps there is a plugin or script that already does this? If not, we could write…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. Adding waLoginBox to another site no longer supported because of the reCaptcha

    Logging into Wild Apricot from an external site using the steps outlined in this wild apricot article seems to be no longer supported as of Version 7.27 or higher. Is this something that Wild Apricot will add support for? Or can the api be updated to allow users to login to their account (similar to sso), as I need to allow my users ability to log into 2+ sites using their wild apricot credentials and they need to be able to go to Wild Apricot and not have to login again.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. $filter contacts from ID

    Does anyone have an idea on how to filter and display a list of contacts from a specific ID? I've tried Id gt 67814009.

    Seems this might not be supported. Does anyone have a solution or creative workaround?

    {"code":"Search","message":"Operator GreaterThan is not supported for attribute User ID"}

    API: https://api.wildapricot.org/v2/accounts/{account_id}/contacts

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. OAuth SSO - Cannot get token

    I'm trying to generate a token but I always get a "HTTP/1.1 400 Bad Request"

    curl -v --data '' --request POST \
    --url "https://oauth.wildapricot.org/auth/token?client_id=myapps&grant_type=authorization_code&code=bbd4170f875d16b6124e82e4a336f70&scope=contacts_me&redirect_uri=http%3A%2F%2Flocalhost%3A8080" \
    --header 'Authorization: Basic aHBzY2cDp1OHR0NWU1OWpoc2Y1bmNrcjNvcjhyNnR0eHFhNng=' \
    --header 'Content-Type: application/x-www-form-urlencoded'

    --data '' is used to set "Content-Type: 0", if its not included I get a 413 error

    Is there something wrong with my curl that i provided?

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. Support Coupon Code for Membership Application Non-Admin API

    In the Non-Admin API, the "rpc/{accountId}/ApplyForRenewal" call, the API documentation shows that a "Coupon Code" can be submitted as part of the body of the request. The "rpc/{accountId}/applyForMembership" call does not show a "Coupon Code" in the documentation.

    Is it supported? If yes, how should the request be formatted? If it is not supported, is there an alternate way to add a discount code to a membership invoice via API?

    I have tried the following JSON body. It successfully creates a pending membership with the correct Level, but the discount code is ignored. (no error, it is just ignored). The…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. API select help needed

    Wondering why this isn't working. I want to filter the contact information down to just Display Name and Contact ID. My payload has this in it:

    $queryParams = array(
    '$async' => 'false', // execute request synchronously
    '$select' => 'DisplayName,User ID',
    );

    What do I have to change to get the select to work? I am still getting the entire data set for every contact.

    The URL is encoded like this: URL:https://api.wildapricot.org/v2/Accounts/391511/contacts/?%24async=false&%24select=DisplayName%2CUser+ID

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. update invoice

    I am trying to update (PUT method) an invoice from MAKE to WildApricot. So I created a google sheet with invoice Id listed and a Memo that I'd like to put on any invoices that are in my spreadsheet. Using the "Make an API Call" module in Make, I can do a GET, but cannot get the PUT to work at all.

    Any help on getting the PUT method to work would be greatly appreciated.

    Here is the Bundle Content for GET method that works:
    [
    {
    "qs": [],
    "url": "/accounts/54321/invoices/424242442",
    "body": null,
    "method": "GET"
    }
    ]

    For the PUT,…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. 403 response on PUT request

    Hi

    I am trying to update a field on a contact using the API.

    I am able to authenticate and get a valid oAuth token with the 'auto' scope and I am able to retrieve the full list of contacts using the API.

    However, I am getting a 403 error code when I am trying to update a contact using this endpoint:
    /accounts/{accountId}/contacts/{contactId}

    This is the payload that I am passing in the body of the request:
    {
    "Id": <ContactId>,
    "FieldValues": [
    {
    "FieldName": "First name",
    "Value": "Mike"
    }
    ]
    }

    Any idea of why I would be getting a…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. Is it possible to add custom screens/content to the mobile app?

    We would like to integrate our membership NFTs into the mobile app. Our objective is that our members can access and use their NFTs at our events. This could be as simple as adding a screen to display (carousel style) a series of images that would include NFT images and/or QR codes representing blockchain addresses. More fully, we would like to also be able to display the properties of the NFT. It is not necessary to connect to the member's crypto wallet via the mobile app, as we would just store the NFT data in their membership account.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. Is It Possible To Create A Custom OAuth Login Page Using The API?

    I am trying to create my own login page to connect with Shopify using OAuth SSO. I would use Wild Apricots own SSO login page but quite restrictive in what you can achieve from a layout perspective.

    Is it possible to create a custom OAuth login page that could use the API to return a "code" parameter to pass back to an SSO provider?

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Saved search api Get Contact vs Member saved searches, and add creation date

    When getting the saved saved search api results, add a divider between contact vs member saved searches. Have a way to call contact vs member saved searches based on where they were created. Also, save the creation date of the saved search and who created the saved search. This information is shown on Wild Apricot within the Saved search section but is not accessible in the api results.

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. Why was includeDetails removed from /contacts/me

    I am trying to use the API via JS on a WA page. I need a to fetch a specific field from the logged in member. The docs point to an api version 1 swagger that says that FieldValues can be obtained by appending ?includeDetails=true to the URL - however, this does not work for version 2, and version 1 is not accessible using /sys/api/v1/accounts/

    I also cannot access https://api.wildapricot.org/publicview/v1/accounts through JS due to CORS. How can I get FieldValues via JS on a WA page?

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. WordPress Login idiosyncrasy

    I am getting odd results when I use the WA Login Plugin - If the user has never logged in before everything works good - a new user account is created and the information is populated perfectly -

    The problem is I created the wordpress site as an admin with my user id and password - the password and email address are the same on both sites but i get "An unknown error has occurred. Please try again later."

    Is the match on the email address, the user name? what do i need to do to correct this ( i…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Date Format in API Create Event POST

    When creating new events (these are simple RSVP events) via the API interface, the web interface shows the new event in the default timezone of the Wild Apricot account. This means my start date is almost always wrong for these events.

    If I am creating a. new event for Utah, for example, I have set the timezone fields of the API payload as follows ;

    "Details": {
    "DescriptionHtml": "A fun family event",
    "PaymentInstructions": "None",
    "TimeZone": {
    "ZoneId": "USA & Canada",
    "Name": "Mountain Time",
    "UtcOffset": -6
    },

    <truncated>

    . When I run my POST command I get back an event_id as…

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    4 comments  ·  API  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

Developers

Categories

Feedback and Knowledge Base