Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
88 results found
-
file attachment API
Now that WA can save file attachments, can we get an API, similar to /photos that can retrieve the attachment by Id?
8 votesWe already started working on it.
-
Additional, Administrator-defined, Optionally-searchable Content Types
Think it would be quite useful to have the ability to (optionally) define additional "Content Types", i.e., types other than the default set already provided (Page contents, Blogs, Forums, Events, & Public Member profiles).
This capability would add an important, new dimension to the site wide Search Gadget, and would provide a user-configurable means to manage the scope of a user's search capability, by role!
Such that:
Any number of additional (optionally-defined) content types can be established by a site administrator
These optionally-defined content types can be administrator-selected for inclusion/exclusion: (a) By role and (b) In the site search Gadget’s…
7 votes -
Implementing my own payment gateway: is that possible?
I'm planning to implement my own payment gateway integration (to Omise, a kind of Stripe for South East Asia).
The plan is to make a "micro-service" that displays the payment page and then push payments to WA Payments Admin API.
Any red flags? Thanks
5 votes -
API endpoint to edit or add access groups to a selected member
Is there an available API endpoint to edit or add access groups to a selected member? From what I've understood in the documentation the API endpoint available is to retrieve the access groups or the access group of a member. But there is no endpoint to edit or add access groups to a target member.
4 votes -
api create event reminder emails
I am already using the following WA API to create events programmatically (we create several hundred events per year):
POST /accounts/{accountId}/events
However, I can't figure out how to create these events with the following emails already configured:
- Registration Confirmation Email
- Registration Cancellation Email
- Registration Reminder 1 (scheduled for 1 day before event)
I've looked through the API information on this webpage (https://app.swaggerhub.com/apis-docs/WildApricot/wild-apricot_public_api/7.15.0#/), but I can't seem to find the appropriate attributes in the data model.
Does anyone what attributes need to be set for these 3 emails to be configured for my events?
Thank you in advance for…
4 votes -
Wildapricot hosting code to access the API
The webpage here: https://gethelp.wildapricot.com/en/articles/182 suggests that we can access wildapricot API's from wildapricot hosted web pages. ("Wild Apricot's APIs can be accessed from a 3rd-party server or application, or from a Wild Apricot site page. For information on differences between the two, see API access options.")
However the API access options page (https://gethelp.wildapricot.com/en/articles/484) only talks about access from a 3rd-party site, and, this request, says we can't run PHP on the wildapricot site: https://forums.wildapricot.com/forums/308926-designers/suggestions/8821459-inserting-php-pages#comments
So how can we host 'code' on the wildapricot servers that can access the API please?
We would like to write some custom…
4 votesDmitry Smirnov responded
You cannot host server-side code on Wild Apricot servers. But if you plug some JS code into pages of WA website, then this JS can access API.
-
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 -
current token does not provide access to scope 'contacts_me'
I'm trying to simply create software that pulls our contact list. I'm using the API key I've created, I granted full-access. Whenever I try, in Postman, to pull account or contacts, I get "current token does not provide access to scope 'contacts_me'. HTTP 403. I thought the whole point of using the API key is that I get full access, what am I missing?
3 votes -
How do we get fullSize images from the Picture API?
I'm having trouble fetching full size images from the Pictures API. If I use the
fullSize=true
parameter I still get a thumbnail image back.3 votesDmitry Smirnov responded
API returns the best quality it can find. If you upload images through API or a mobile app, then a high quality image is stored as well as a smaller one. But if you upload an image through the web interface, then system does not keep a larger image.
-
Add waitlist count to Events API call
The Events API returns information about all or selected events. The returned data includes ConfirmedRegistrationsCount and RegistrationsLimit. It would be very helpful to have the API call also return the count of people on the waitlist.
The Export registrants option in the Admin section doesn't include registration limits.
Currently, I have to fetch each event and count the number of people on the waitlist for each event. That's a lot of loops. We have a few hundred events to mung.3 votes -
How to trigger password reset email?
I have implemented single sign on, but I want my login form to be able to trigger the password reset email (eg a "Forgotten Password?" link on the login form.
I can see that there is a way to do this manually via the back end, but I need a way to trigger this via the API.
Thanks
John3 votesDmitry Smirnov responded
API cannot do it.
-
Add or update site content via API
We want to be able to update selected pages and content blocks via the API. For example, our finance committee creates a monthly report that we'd like to publish as an HTML page. Allowing us to PUT and POST content would be very helpful.
3 votes -
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
3 votes -
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 -
3 votes -
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.
3 votesTeam Mobile responded
It is not possible in current version of API.
-
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.
2 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 -
How to add a Registrant to a Waitlist using the API?
I have a C# application that successfully adds registrants to an existing event. However, I have been unable to add registrants to the Waitlist when the event has reached its limit.
The following documentation on the web shows how to add registrations to an event:
However, I have been unable to locate similar documentation for adding to the Waitlist. Does anyone know how to add new registrants to an Event's Waitlist?
Appreciate any assistance.
2 votes -
Contacts API: filter non-members
How do I access non-members using the Contacts API. I have already tried '&$filter=Member ne true' but that seems to just return a list of all the contacts including members that have a membership associated to their account.
2 votes -
Contact API Returns Dataset or Status
Sometimes the v2.2 API calls (done via API token and auth built on the PHP class from your sampleApplication.php on GitHub) to get a specific Contact returns the user's fieldset, and sometimes it returns an object with a State of either 'Waiting' or 'Complete'.
I've tried adding ?$async=false but it doesn't seem to change anything. Matter of fact, when I added $async=false&$select='First name','Last name' (as mentioned here in the forums, previously) I got a 400 bad request.
It seems like sometimes the API kicks butt and returns everything I need instantly, but other times it sends a Status of either…
2 votes
- Don't see your idea?