Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
104 results found
-
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 -
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 -
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 -
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 -
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 -
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 -
Contact Webhooks
How to get whether or not a contact or member was deleted using webhooks without running too many api calls. Could there be an upgrade to the contacts webhooks and return 'Action' similar to events or that of membership?
1 vote -
contact/me does not return an "Organization"
I am using accounts/{accountId}/contacts/me endpoint to get details for the currently-logged in user. The API documents there should be an "Organization" in the response. However, this field is always null/the empty string. Is there a way to get this information?
1 vote -
Contacts API returns incorrect Profile Last Updated
I recently (2021-12-19) suspended and archived a member (ID 57031785). The contacts API is still returning the timestamp of the previous update (2021-06-18T10:58:17.37-07:00) for Profile Last Updated.
This invalidates any API usage that seeks to minimize server load and response time by fetching only changed records.
I believe this is a bug, and it prevents me from using the Contacts API effectively. I will have to do a full contacts dump every time I want to synchronize my local DB, and will increase the load on your server significantly, since this is done at least once a day, sometimes more…
1 vote -
Contact API sort options
Currently the Contact API supports Name or MemberSince order. For the purposes of synching an external database efficiently, it would be really nice to add a sort by contact ID
1 vote -
Extend non-admin API to allow filtering of events
The non-admin API returns a list of all events that the current user has registered for. While I can filter the results to show only future events, it would be nice if the API did this for me. The admin API allows this by letting me specify the StartDate.
1 vote -
Privacy for Contact List
I had posted last week that I cant find out how the contacts list API respects privacy settings for each contact but as yet, no replies. Is there an API that can return the privacy settings a contact has specified? In this way, our app could maybe parse those privacy settings and figure out what contact fields (e.g. phone, email) it can display. In the absence of any such API, or the contact list API ignoring contact privacy our app will be making personal private information public which is obviously a show stopper.
1 vote -
Contact API Never Returns Contacts
We are using the API get Contacts API query. Sometimes and intermittently our query returns the Contacts as expected but more often enters a state where it never returns the results. Below are logs of both cases. Our question for the failed case : "what API call do we need to make to retrieve the Contact results?"
Here is the sequence when the call returns the contacts successfully. We assume that we should call the ResultUrl from the first response to receive the list of contacts and that approach does return the data :-
Start API CALL, path: https://api.wildapricot.org/v2/accounts/<id>/contacts…
1 voteDmitry Smirnov responded
There are 2 options:
1. If you need data immediately, then you may add a parameter $async=false to the initial query. With this flag API returns a list immediately. If your number of contacts is below 500 it is a reasonable option.
2 Another option is to do exactly what you do, but wait for several seconds between API calls.
No matter what option you prefer, I’d recommend using $select parameter to read only the fields you actually need. It will significantly improve performance.
Here is an example:
GET https://api.wildapricot.com/v2.2/Accounts/183112/Contacts/?$async=false&$select='First name’,‘Last name’,‘Renewal due’
-
JSON response for eventregistrations?eventId=434xxxx fails a json_decode test with NULL
I am querying now on the eventregistrations API and have the API query working through https://api.wildapricot.org/ui/home/RequestOAuthToken , but the result set fails a json_decode action with NULL - which I presume means it is not JSON structured. Not sure how to proceed with solving for this. I am running this through the php sample application, which works.. but when adapting to test for this eventregistrations query, the apparent JSON result fails the decode test and hence nothing is available to the foreach loop to extract the right information.
Running this query, which works fine..
https://l.facebook.com/l.php?u=https%3A%2F%2Fapi.wildapricot.org%2Fv2.2%2Faccounts%2F1234567890%2Feventregistrations%3FeventId%3D4344015%26fbclid%3DIwAR3fKL6K25MQZIrov9EYsXFhQVEzXKlPOzCDK7HxO0g7uEYdYRTy-6sHnGQ&h=AT1hreSFqkWarrlAM6Wfjd5qPxfJFJ_jTgzZ4vwNilh_OyC8eVdE1dw15Ab_ESS4gRo3ZudF6nWUQdqi6FCcIRDRjZTv4cGCpIh4ULxzTD9DWFJw0NgoyyXtU4ZrZTaToUYhN8o&__tn__=-UK-R&c[0]=AT0qQTLupLZd5d7sgyM9tb3J0rQ4JkLlK6SHLVNIbdCWpH8fFtgvHMjqT1uln6KtExBXEeDdnzEIozaPhA3jwQnEGwqT0code7yc6J38fMHF7nXFBAj1HpILaGi3uTjWCShzKR_V1p_kiZzqPdSdSA1Vjni20A3doSA
.. gives this response >…
1 vote -
SentEmailRecipients & Opened & ClickedLinks
Question about the results returned by SentEmailRecipients (https://app.swaggerhub.com/apis-docs/WildApricot/wild-apricot_public_api/7.15.0#/Emailing.SentEmailRecipients/SentEmailRecipientList) - if a user clicks a tracked link in an email received from Wild Apricot, is the Opened flag also set to TRUE (even if the user disallows loading the code or pixel or whatever that's likely used to track email opens - or is this a non-issue [i.e., user cannot disable Wild Apricot tracking opening of email])?
Thank you.
1 vote -
Use API to update member's contactfield setting
/publicview/v1/accounts/{accountId}/contactfields
only allow get method.Is there any way to update the
Access
field of a contact field?
Without this api, it is impossible to allow user to edit their field privacy in 3rd party app.1 vote -
/v2.1/accounts/335649/events/ unable to Sort on StartDate asc
So I'm doing a GET on this endpoint
/v2.1/accounts/335649/events/?$filter=IsUpcoming%20eq%20True&$sort=ByStartDate%20asc
And for the life of me it seems to ignore the ByStartDate asc part.
Any ideas ?
1 vote
- Don't see your idea?