Skip to content

Developers

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

199 results found

  1. API Timeout

    Hi, I have a script that fetches the contactId for each person in the database and then gets the details of each person. The rate limit for the "contact by identifier" is 120 per minute. I seem to be getting some time out errors every now and then. I am wondering if this is due to the rate limit. I have the request set for 2 requests per second. Sometimes after 600 records or so it starts to timeout. My script is set up to retry the ID after 5 seconds. It will go through a max of 3 retries…

    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

    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)
  2. 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

    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)
  3. 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

    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. 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

    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)
  5. How to Change registrant visibility when moving from waitlist to registrants

    There is way to change the default with JavaScript. I found the HTML of the checkbox with the Google "View page source" function, then created a content row in the "Event Details" system page and added the following code to the created content HTML:

    <script>
    
$( document ).ready(function() {
    var id = "FunctionalBlock1ctl00eventPageViewBasectl00ctl00stepTemplateisShownOnPublic"; 
var pageUrl= window.location.href; 
var chkbox = document.getElementsByClassName("typeCheckboxContainer")[0];
    if(pageUrl.indexOf("JoinWaitlist") >0 && chkbox != undefined){ 
document.getElementById(id).checked = true; 
}
    });
    
</script>

    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)
  6. 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}/UnallocateFromPayment

    This 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

    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)
  7. Contacts API filter by FieldValues

    I want to be able to retrieve contacts based on the value of a custom contact field.

    I have been testing using the Swagger interface.

    The following filters return errors:

    Filter: member eq true and 'testfield' eq '12345'
    Filter: member eq true and testfield eq '12345'
    Error: Operator Equal is not supported for attribute testfield

    Filter: member eq true and substringof('testfield', '12345')
    Error: Operator Like is not supported for attribute testfield

    The 'testfield' attribute seems to be valid, however the filters are not supported.
    I could load all the contacts and filter them but isn't that wasting WA resources?

    Any…

    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)
  8. 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

    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)
  9. 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)
  10. Action Required: It’s time to revisit your Privacy Policy and Terms of Service

    One of my customers received this quasi-spam email subject line, "Action Required: It’s time to revisit your Privacy Policy and Terms of Service" what kind of bullhockey is this? An ad to buy Termly's package to update the language for the checkout page? What's this. Do you find it as nefarious as I do?

    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)
  11. 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

    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)
  12. 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"->name

    Should this not be returning the Contact's saved name, not the event registration name?

    We have browsed the entire…

    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)
  13. Working email script - now my page is uneditable

    I’m sure this is just a weird coincidence — Twice now I have developed a script that uses JS and Make integration to allow members to email members of specific groups without the need for admin access. This is the second time that I’ve built the prototype and after successful testing, left it alone …. Just to come back to see that I can no longer edit the page.

    1) Is WA working on this capability?
    2) Does WA flag and disable scripts? If so, why?
    3) What would cause a working page to become uneditable?

    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)
  14. 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

    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)
  15. Retrieve registrant AND guest data with single API call?

    I'm using the GET /accounts/{accountId}/eventregistrations API to retrieve the list of registrants. I also have a large number of guests. The only way to retrieve detailed guest info is to make individual calls to the registrant API, find whether they have any guests then make individual calls for each guest.

    Is there any way to use a single API call to retrieve all registrant and guest info in one call, to speed things up and make fewer calls, maybe using $filter? Based on the SWAGGER API reference it doesn't seem possible, but doesn't hurt to ask.

    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. Events being blocked by robots.txt

    Hi all, our individual events are being blocked by robots.txt. I assume it was set that way by default. Does anyone know why? Is there any reason not to remove the block?

    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)
  17. 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

    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)
  18. Find events by API where reminder email schedules have not been set up

    We would like to find upcoming events where reminder e-mails have not been created. We find that we have a lot more no shows when that happens. Right now an admin has to go through and click on each event by name to see if this was done, and it is quite time consuming for our number of events. I have used the API successfully for other items; but I do not see the data attributes for the e-mail reminders in the API.

    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  ·  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. 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

    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)
  20. Having trouble authenticating in Postman

    I'm working on authenticating in Postman for an upcoming project and this is what I'm sending:

    POST /auth/token HTTP/1.1
    Host: oauth.wildapricot.org
    Authorization: Basic {{API KEY GOES HERE}}
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 40

    granttype=clientcredentials&scope=auto

    But I'm consistently getting a 401 Unauthorized error with this output:

    {
    "error": "invalidclient",
    "error
    description": null,
    "error_uri": null
    }

    I'm able to retrieve a token using the tool at https://api.wildapricot.org/ui/home/RequestOAuthToken and make calls using the API browser but, since I'm working on an integration with an existing application, I really need to be able to make a call on my own. Any hints on…

    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

    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)
← Previous 1 3 4 5 9 10
  • Don't see your idea?

Developers

Categories

Feedback and Knowledge Base