Skip to main content

Activation Queries & Destinations (AD 1.0)

Download OpenAPI specification:Download

This page contains the essential endpoints of the InfoSum API that help users securely manage data throughout the activation process, allowing them to activate and push data for analysis from InfoSum to one of our destinations. You can download the swagger file above or email solutions@infosum.com to share a Postman Collection.

InfoSum Support: support@infosum.com | Terms of Service | Official Documentation

We highly suggest attempting to activate and push to a destination in the UI first. This way users can confirm they have the correct rights to activate and push to a destination. Additionally, this will allow users to create the destinations and set the configurations before attempting to push via the API. Future versions of the API Playbooks will outline creating a destination and modifying configurations. Task List

  1. Create an activation query

  2. Optional: Check results ran successfully after running the query

  3. Optional: Confirm the destination exists before pushing or grab the Destination configuration

  4. Push query results to Destination

Parameter Reference Table

Postman Step Number Parameter Name Parameter Structure Where to find it When to collect
1 Query "SELECT self.ID FROM self INTERSECT them" Write it in Query Tool or find in Activations Page. Have ready before hand
1 Campaign Name text This is user generated. This will be the name InfoSum uses to reference the activation result. Have ready before hand
2 Query ID xx Response from step 1 Can be grabbed from output of step 1
3, 4 Destination ID DST.xx in URL of Destinations page Have ready before hand
4 Destination Push Config JSON config Response from step 3 Can be grabbed from output of step 3
4 Destination Filename text.csv (or another file type) This is user generated. This will be the name InfoSum gives to the file in the destination. Have ready before hand

Activations

1. Create a Query

Queue a Query for execution. Returns immediately with an ID of the Query created.

Authorizations:
apikeyAuth
header Parameters
Content-Type
string
Example: application/json
Accept
string
Example: application/json
Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{
  • "query": "Query",
  • "campaign_name": "Campaign Name"
}

Response samples

Content type
application/json
{
  • "query_id": "<string>",
  • "done": "<boolean>"
}

2. Get a Result

Get the Result of a Query, when it is available.

Authorizations:
apikeyAuth
path Parameters
query_id
required
string
header Parameters
Accept
string
Example: application/json

Responses

Response samples

Content type
application/json
{
  • "dimensions": [
    ],
  • "audience": "<long>",
  • "quality_measures": {
    },
  • "join_metadata": [
    ],
  • "count_metadata": [
    ]
}

Destinations

3. Get Destination Instance

Returns details about an owned Destination Instance.

Authorizations:
apikeyAuth
path Parameters
destination_id
required
string
header Parameters
Accept
string
Example: application/json

Responses

Response samples

Content type
application/json
{
  • "destination": {
    }
}

4. Push Activation Result to Destination

Pushes results of a query to a specific destination instance.

Authorizations:
apikeyAuth
path Parameters
query_id
required
string
destination_id
required
string
header Parameters
Content-Type
string
Example: application/json
Accept
string
Example: application/json
Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{
  • "push_config"": {
    }
}

Response samples

Content type
application/json
{
  • "push_id": "<string>"
}