Skip to content

Developers

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

196 results found

  1. Admin API for Event Cancellation

    I see a non-admin API for cancelling Event Registrations. However, we need an admin API with this capability. We do not want registrants cancelling their own registrations, but we need an API to allow admins to do this.

    3 votes

    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. 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  ·  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. Payment and invoice allocation

    I have posted some payments via the payments API with the following JSON:
    {
    "Value": 0.65,
    "DocumentDate": "2022-12-18",
    "Invoices": [ {"id": 002049} ],
    "Tender": {"id": 1038048},
    "Contact": {"id": 12345678},
    "Comment": "Test Payment to allocate to invoice",
    "PaymentType": "InvoicePayment"
    }
    The invoice number is correct (and has to be 0 justified otherwise the API fails), the payment is correctly entered in Wild Apricot but the response returns <AllocatedValue>0.0000</AllocatedValue>
    As a result, the payment needs to be manually settled in Wild Apricot against that same invoice.
    I expected the provision of the invoice number would automatically settle the payment. Did I miss…

    2 votes

    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)
  4. Display User Name & ID

    We are using Sharepoint Forms on our WA site and using Power Automate to perform functions when the form is submitted. We would love a way to capture the WA User ID to do this (currently the member must look it up and enter it into the appropriate form field). In 2017 Team CMS posted the snippet below to display the member name. It still works. I've been trying to guess the variable name for the ID, but so far haven't guessed correctly. Does anyone know the name of that variable?

    Team CMS commented Dec 4, 2017
    For this purpose…

    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  ·  How to  ·  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. 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)
  7. 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  ·  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. 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)
  9. 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)
  10. 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)
  11. 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  ·  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. Event Location Address Lookup

    Make the location information on events, clickable so that the user can get directions to the address listed.
    Thanks

    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  ·  How to  ·  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. $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)
  14. A way to get members to edit their profiles

    Follow this link for script/code to add to your WA site and get members to land on their profile page post login.

    https://nicasiodesign.com/how-to-get-wild-apricot-members-to-edit-their-profiles/

    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  ·  How to  ·  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. 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)
  16. Force profile update at login

    We are working on a way to MAKE members go to their profile and 'force' an edit at login:

    We have a test setup at
    https://coventryplantation.wildapricot.org
    Here is how it works -
    it is a custom script running on this test site that will take a member at logon to the profile edit page in edit mode so that they HAVE to save their profile to proceed.
    Note right now it is still showing the Cancel button and full navigation.
    Depending on each user's needs we can customize this...
    Let me know if you want a test account to see…

    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  ·  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. API Report to include event cancellations

    The website provides a method to export all registrants. This report includes cancelled registrants, and those registrants are marked as such.

    I have a need to provide a list of all event registrants (including cancellations) to the various event organizers on a regular basis. I am currently using the "Events.EventRegistrations" API. However, it does not include the cancelled registrants. Is there a way I can include the cancelled registrants via an API? The "Export Registrants" report on the website will do this, but I need to automate this process.

    3 votes

    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)
  18. 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)
  19. How to handle payment for new member application through API

    We would like to create a custom membership application using the API, that allows people to become members and pay via credit card to instantly become members, and therefore gain access to the website.

    Looking through the API docs, I'm unsure what the process is for creating a new member, and to retrieve the payment link to allow them to pay as part of the application process. The public non-admin API requires a wild apricot member to be logged in, right? So is processing a new application via the admin API possible?

    Any help or guidance would be much appreciated,…

    2 votes

    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  ·  How to  ·  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. 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)
  • Don't see your idea?

Developers

Categories

Feedback and Knowledge Base