GET request in API seem limited to POST

Options

Hi,

I'm relatively new to the LO api but it seems like simple endpoints like getUser, which you seem to include the ability to GET user(s) is actually a POST request. I'm trying to get all constituents which are a member of a specific group and haven't found a useful endpoint to accomplish this.

Does anyone have any insight on how to get that data?

Tagged:

Comments

  • Erik Leaver
    Erik Leaver ✭✭✭✭✭
    Ancient Membership Facilitator 2 Name Dropper Photogenic

    @Christopher Sahm The getGroupMembers call should be what you need. Documentation is here:


  • @Erik Leaver

    Are POST requests not to add data to a database only? I need GET. This method doesn't have GET. How does POST work to GET data and not add something to the database?

  • Erik Leaver
    Erik Leaver ✭✭✭✭✭
    Ancient Membership Facilitator 2 Name Dropper Photogenic

    @Christopher Sahm I'm not an expert in post vs get and some of our API calls support both methods. But I'm pretty sure that using this API with post will return your list of constituents.

  • Elizabeth Favre
    Elizabeth Favre Blackbaud Employee
    Fourth Anniversary Facilitator 1 Name Dropper Photogenic

    @Christopher Sahm
    Hello and welcome to the LO family!

    I'm a Blackbaud technical writer working on the Luminate API docs. I was also surprised to find that the REST APIs are primarily POST methods. There is a lot of history behind this.

    You may be interested in knowing that as we head into the future of Luminate you will be seeing more modern UI and functionality. A great example of this is the new Email Campaign experience. More improvements and updates are coming. Check out the 2022 Product Update Briefings if you are curious.

    I haven't heard of any specific plans regarding the API functionality, but we are looking to update the API documentation. I'm hoping to gather some input on areas for improvement. If you are interested in sharing your thoughts, please let me know.

    Thanks so much!

  • @Elizabeth Favre
    Hi Elizabeth, yes I'm happy to help with some feedback. I have some general ideas on how to improve the docs and some specific changes to suggest.

Categories