Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
203 results found
-
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
Donation tracking widget
Is it possible to have a donation widget that can be added to a webpage or social media page that will allow the user to donate and have that donation be tagged as coming from that website or social media page? We want to have groups or individuals run campaigns on their sites and being able to track where the donations originate from to advertise how much each group or individual members or subscribers are donating.
1 vote -
Renewal Prerequisites
Organization requires its members to pass an exam before renewing each renewal period. I'm able to call from the exam software and update a field when a member passes an exam. I need a way to block user renewal until that field reflects a passing exam.
1 vote -
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 -
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 -
Event Gadget to open registration page in new tab
I would like the list events gadget to open the event registration page in a new tab rather than in the embedded iframe. Especially when on mobile, the iframe is not viewer friendly and I would like it to open a new tab.
1 vote -
Event allow or disable registration does not trigger webhook
Toggling the switcher button to enable or to disable event registration does not trigger the webhook which states "Any change to event settings except: Changes to registration form, Changes to registration types, Changes to event email settings or templates". The event registration webhook only covers "Any change to event registration details for any registrant, including: New registration, Canceled registration, RSVP response".
I have tested it and every other edit to my events triggers the corresponding webhook, but not when it's enabling or disabling the event registration.
1 vote -
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 -
Events filter Isupcoming doesn't work
Using the following base:
https://api.wildapricot.org/v2.1/Accounts/Events?I can successfully list ALL events, or filter the list by Name using substringof, but...
The following filters don't work:
'$filter' => 'EndDate lt 2022-12-31'
'$filter' => 'IsUpcoming eq true'
'$filter' => 'IsUpcoming eq True'What gives?
2 votes -
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 -
Connecting css files to page
How do I connect separate pages to their respective css file in resources?
1 vote -
mail Chimp form does not show submit button
See the subscribe button is missing section
1 vote
- Don't see your idea?