Skip to content

Developers

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

99 results found

  1. Events API StartDate filtering only returning first event, not all events?

    Hi, I have two events on a single date, yet calling the Events API and filtering on that date only returns one of the events?

    The code snippet:

        $("#listSessionButton").click(function(){   
             api.apiRequest({
                apiUrl: api.apiUrls.events({
                    $filter: "StartDate eq 2020-03-01",
                    idsOnly: 1
                    }),
                method: "GET",
                success: function (data, textStatus, jqXhr) {
                    console.table(data)
                    alert(data.EventsIdentifiers);
    

    The results:

    EventsIdentifiers 3743709
    Object
    EventsIdentifiers: Array(1)
    0: 3743709
    length: 1

    The events in the GUI attached.

    Thanks very much
    Kevin

    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)
  2. API Send Email - Cannot specify Reply to Address

    I have been able to create and send emails via the API using a POST to /rpc/{accountId}/email/SendEmail. However, I have not found a way to change the default reply to address (the default is support@wildapricot.com).
    Is there a way to specify a Reply To address similar to the option available when drafting an email on the website?
    Thanks, Paul

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

    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

    4 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)
  4. Integrate members into searchable directory on wordpress

    I have an active member list of 750 members that I would like to export to a Wordpress. The WA site will remain. The Wordpress site would focus on matching members to customers, and I would need a search feature that could search by zip. Is there aa wild apricot partner that has done this? I’m looking to hire.

    Mike

    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. Receipt email should be sent automatically once payment is created via API

    If there is an option to create a new payment via the API then it would make sense that an automatic receipt email should be sent out as well or at least the option whether to trigger this or not.

    We have created our custom payment integration using the APIs because our local payment gateway provider is not supported. After the payment is completed the API registers the payment in WA towards the specified invoices.

    We were surprised that the member does not get a receipt email and that it has to be manually done which partly defeats the purpose…

    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)
  6. Add invoice id or event registration id into event email template

    We cannot integrate with any of the available online payment providers as none of them are supported in our country.

    What I thought to do is use provide the users a link to a third-party code that would use WildApricot APIs to retrieve and update invoice information and that would integrate with our payment providers.

    The link would need to include some information about what the user is trying to pay and the most natural thing would be to include the invoice id or event registration id in the link query parameters so that the third-party code can use the…

    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. Check in member to an event using event registrations API

    Knowing the eventID and memberID, it would be ideal if the API could allow me to check that member into that eventregistation.

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

    4 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)
  9. Wild Apricot Auth w/Mobile (Specifically React Native)

    So we're working on a mobile app for our members at ITEA. Rather than create yet one more account on yet one more app, this app will hit the Wild Apricot API, acquire an auth token based on a member's email and password, and then send back the user's information via the contacts/me endpoint. One login; two platforms. Makes sense.

    We're running into some hurdles with the auth API for mobile. Specifically, I'm using React Native and a package called react-native-app-auth to handle the OAuth process. This package in turn uses the AppAuth SDK for iOS and Android.

    Hurdles:

    1)…

    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)
    Dmitry Smirnov responded

    1. Never tried it internally, but oAuth service itself works well with all our mobile apps and many other services.

    2. No, we only support HTTPS. But if you open the login window in a WebView, then you can intercept requests with onNavigationStateChange. If interception works, then you can use any domain name for redirect (ie “https://localhost” or “https://mycustomapp”)

    3. No plans so far.

  10. How to Encode Quotes in PHP for API

    I'm using PHP to create a new event via the API just fine. However if the Name of the event has single or double quotes or an ampersand sign, these get converted to utf8 unicode in the published WA event. I can't figure out what PHP encoding WA needs in the POST/PUT for the Name to get a properly decoded result in the WA admin. I've tried htmlentities(), htmlspecialchars(), and json_encode() to no avail.

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

    I would like to be able to deactivate a member through the API. Deactivating a pending membership is possible through /rpc/{accountId}/RejectPendingMembership, but that doesn't seem to be intended for existing memberships.

    I tried sending a PUT to /rpc/Accounts/{accountId}/Contacts/{member_id} with 'MembershipEnabled: false', as well as setting FieldValues like "Member", "SuspendedMember", and "Membership enabled", but this returned a 400 error.

    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)
  12. 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:

    1. Any number of additional (optionally-defined) content types can be established by a site administrator

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

    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)
  13. GET, PUT, and POST for blog content

    I would like to be able to retrieve, update, and create blog posts 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

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

    3 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)
  15. Sending email via API

    I'm trying to use the send email API call - https://app.swaggerhub.com/apis-docs/WildApricot/wild-apricot_public_api/2.1.0#/Emailing.Operations/SendEmail but not having any luck.

    I've tried from the API browser and via a Google Apps script. In both, I just get a 400 error.

    I'm POSTing to https://api.wildapricot.org/v2.1/rpc/<ACCOUNT>/email/sendemail, with this as my body:
    {
    "Subject": "test email",
    "Body": "test email",
    "Recipients": [
    {
    "Id": 0,
    "Type": "IndividualRecipient",
    "Name": "test",
    "Email": "<HIDDEN>"
    }
    ],
    "EventId": <EVENTID>
    }

    (account, email and event id have been hidden). Each time, I get a 400 error: Parameter is required: EmailDraftParam.
    The swagger documentation doesn't mention a "EmailDraftParam". What am I doing wrong?

    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

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

    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)
  17. How to drive the saggerhub api

    Hi. It appears that I should be able to use swaggerhub to pull data from my WA database with the API, but I can't figure out how to do this because the code in the code window of swagger is 'read only'. I can see that I have to change it so that it points to my WA site, and although I have an option to enter API key to authenticate, there seems no way to change the site. Help 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

    7 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)
    Current issue  ·  Dmitry Smirnov responded

    I have to admit, authorization with login/password through swaggerhub stopped working. Authorization with API key (2-nd in a list) still works.

    I can recommend to use one of these options:
    1 POSTMAN – is a great tool to work with API. It is possible to import swagger description.

    2 Use our test tool at API browser. It is a web application located at https://api.wildapricot.org/ui/home/requestoauthtoken

  18. v2.1 getEventDetails returns 404 for existing events

    I have a list of event IDs that I need to verify still exist in WildApricot. For some of them, the call to /accounts/{accountId}/events/{eventId} returns a 404, even though I can search and find them in the admin UI (Events > Event List). I am not passing any filters to the API call.

    Any ideas why the API returns a 404?

    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)
  19. Integration to Reservation System

    Researching member management systems,Have/Can you integrate with Reservation System? We use RezExpertCentral Application. Member have to be active in order to make a reservation. Can your Admin API be used for that validation?

    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)
  20. Stripe Connect

    Hi there,
    We understand that Wild Apricot by default allows adding only 1 Stripe/Paypal account in payment settings.
    However we are trying to customize. We want to use Stripe Connect i.e. our Stripe account will have 5 bank accounts added inside it.
    When a user selects 1 of the 5 "Donation Types" from dropdown in donation form, we want to direct the funds to that donation types bank account inside our Stripe account.

    We have a custom php code to achieve this. However how can we use that php code or any other customization you recommend to achieve this functionality…

    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)
  • Don't see your idea?

Developers

Categories

Feedback and Knowledge Base