Skip to main content

Create Universe

Enqueues a new universe job, if no errors were found.

Every call to this endpoint consumes an API credit. If the universe process fails, the credit will be refunded to the company automatically.

There can only be one universe per audience at any given time, calling this endpoint multiple times will overwrite the older universe.

Getting Started

URL REQUEST (POST)
https://api.statsocial.com/platform/v0/audiences/{audience_id}/universe

An optinal callback_url url.

{
"callback_url": "https://yoursite.com/callback",
}

Let's go to example

In this example we will search for an audience with affinities

note

We create this audience in this example

https://api.statsocial.com/platform/v0/audiences/67454/universe

With This Payload

{
"callback_url": "https://yoursite.com/callback"
}

We will receive a json like this

{
"response": "universe for audience 67454 enqueued for generation",
"information": {
"version": "0.0.1"
}
}