---
title: "Submit"
method: POST
path: "/audience/from_parsed_json/new"
tags: ["audience", "Audiences"]
---

# Submit

`POST /audience/from_parsed_json/new`

## Request

- Base URL: `https://api.akkio.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.akkio.com/audience/from_parsed_json/new`
- Auth: none declared

Initiate audience creation call. Takes in a SQL payload as structured JSON.

## Request body

- FromParsedJsonRequestPayload
  - `audience_name` string, nullable: If provided, used as the name of the audience. If missing, we infer an accurate name via LLM call.
  - `audience_description` string, nullable: If provided, used as the description of the audience. If missing, we infer an accurate description via LLM call.
  - `parsed_json` object, required: The parsed JSON object (corresponding to something created through the query builder) to create an `Audience` from.

## Response `201`

Successful Response

- APITaskStartedResponse
  - `task_id` string, required: The ID of the task that was started. This is generally queryable at a nearby `/status` endpoint to get the current status of the task.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/akkio/apis/akkio-api.md) - [All operations](https://skmtc.dev/akkio/apis/akkio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akkio/apis/akkio-api/revisions/c477deff6271?raw)
