Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
104 results found
-
Recreate the Members report via API?
I looked all thru the API reference on swagger and the most likely place this data is being pulled is the the auditlog. I want to grab the member levels at the end of each month of a given date range. Is this possible via the API? Thanks!!
1 vote -
API for Event Registration: option to automatically "Confirm without Invoice" instead of clicking a button in Web UI
Hi, when I use the API to automatically create an event registration, it produces a "Confirm without Invoice" button for administrators. I'm looking for the API equivalent of this button.
I would expect this to be an option for the "https://api.wildapricot.org/v2/accounts/<id>/EventRegistrations/" POST request, but it doesn't seem to be. It seems like at least one other person on this forum requested this (in a comment so I can't vote for it) as well.
Thanks
1 vote -
Invoice Update (Put) fails
The Invoice update ("Put") API call fails if the Invoice has already been Paid.
https://api.wildapricot.org/v2.2/accounts/{accountId}/invoices/{invoiceID}
The call fails with "Invalid paid amount." I tried to change "IsPaid" to "False" and the "PaidAmount" to "0.0" to resolve the error, but the API call still fails with the same message.
I tried to remove the "settlement" of the payment against the invoice using the following API call:
https://api.wildapricot.org/v2.2/accounts/{accountId}/payments/{paymentId}/UnallocateFromPaymentThis successfully removed the Invoice from the list of settlements, however the invoice itself still shows as "Paid" and I am still unable to change it. Additionally, because the invoice is still marked as…
1 vote -
How use / encode $filter in a curl call
How do you encode a $filter query param in a curl call, e.g. 'First name' eq 'John'
curl "https://api.wildapricot.org/v2.2/accounts/{accountId}/contacts?$async=false&$filter='First name' eq 'John'" \
-H "Authorization: Bearer {token}"I tried several ways of encoding, including URLEncode, but I keep getting:
---->>>> curl: (3) URL rejected: Malformed input to a URL function
1 vote -
archive
Does anyone know how to catch when a contact is archived? I'm using make.com (previously integromat) and it doesn't seem that archiving a contact is triggering modifying a contact...
1 vote -
Javascript API - Basic Introductory Example? I can't get any examples to work
Can anyone on this forum that has got the javascript (ajax) API to work on a WA page give me a simple working example? Of anything.
The https://gethelp.wildapricot.com/en/articles/1705-working-with-api-from-javascript does not work (its clearly missing a lot of guidance)
I've tried Dmitry's examples and they do not work for me.
I've tried both my Account ID and an app api key in all examples.I do get the excel spreadsheet example to work.
Any assistance would be greatly appreciated!
1 vote -
get all data
I need to be able to export all of a persons data via the API. For example all of the typical fields related to the person including custom fields. Also, events they attended with all of the available information for the event for that person. Also, if emails were sent to that person, if they were opened, clicked, etc. I want an entire snapshot of all of the data for each person in Wild Apricot. Is there a way to get this information via the API?
1 vote -
eventregistrations api returning incorrect Name
When a member registers for an event they are prompted for their name and email. If they enter a different name than the name assigned to their member/contact info, then the event registration displays the different name that was entered. This seems proper, but when we perform an API request for the event registration info (via /eventregistrations/erid#) it properly returns both of the "RegistrationFields"->name and email, and the "Contact"->ID,
BUT, the "Contact"->Name is returned is the same modified name as "RegistrationFields"->nameShould this not be returning the Contact's saved name, not the event registration name?
We have browsed the entire…
1 vote -
broken upload API respond
respond code 200 with empty array.
1 vote -
member API examples or tutorial
Question: I'm looking for an example of using the member API in a wild apricot site page
Background: I'm hoping to provide a page listing registrants of an event. I believe I could use the member api, specifically "/accounts/{accountId}/EventAttendees" I've looked at the sample code ( https://gethelp.wildapricot.com/en/articles/485-sample-api-applications ) but it appears these are all written with the Admin API.
1 vote -
SSO integration WA to a 3rd party
We are trying to connect an SSO through Azure SAML-based Sign-on to a vendor and control access to that 3rd party using our WA membership. We have the 3rdparty setup in Azure and wonder how e can connect the two through an API
Has anyone connected anything like this?
1 vote -
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 -
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 -
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 -
CERTIFICATE_VERIFY_FAILED
Hi
I am trying to authenticate with contact credentials via https://oauth.wildapricot.org/auth/tokenA 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
Angus1 vote -
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 -
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 -
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 -
$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 -
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
- Don't see your idea?