Query execution job (by ID) giving 404, other API commands working just fine

I've been trying to set up automated query download with SKY API. I have the regular api like https://api.sky.blackbaud.com/constituent/v1/constituents and https://api.sky.blackbaud.com/query/queries working just fine. I have the Analysis - Query - Export permission and have verified that I can export a query to a file with the web ui. I'm getting a 404 when I try to POST to https://api.sky.blackbaud.com/query/queries/executebyid to start the query running on the server.

Any advice on how to get this running?

Best Answer

  • Alex Wong
    Alex Wong Community All-Star
    Ninth Anniversary Kudos 5 Facilitator 3 Raiser's Edge NXT Fall 2025 Product Update Briefing Badge
    Answer ✓

    my reply here gives you the run down of how to use Query API

    Once you check it out and still think you are getting error, please provide more details on how you are running, the parameter and request body, input and output for better assistance

Answers

  • Thanks so much for looking at our issue. I wrote some code to print out exactly what you asked for and found out that our code was filtering out the parameter on POST but not GET. It's working now.