---
updatedAt: 2026-05-27T07:13:33.000Z
---

# Upload audience to partners now

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Audience External API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://hq1.appsflyer.com/api/audiences-external-api"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/audience/{audience_id}/upload_now": {
      "post": {
        "tags": [
          "Audience upload"
        ],
        "summary": "Upload audience to partners now",
        "parameters": [
          {
            "name": "audience_id",
            "in": "path",
            "required": true,
            "schema": {
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Upload was initiated and will start in the next few minutes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/success_response"
                },
                "example": {
                  "message": "Successfully initiated upload on audience id: 123"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error_response"
                },
                "examples": {
                  "Audience does not exist": {
                    "value": {
                      "error_code": 1002,
                      "message": "Audience does not exist under your account"
                    }
                  },
                  "No connected partners": {
                    "value": {
                      "error_code": 1006,
                      "message": "There are no partners connected, upload is not possible"
                    }
                  },
                  "Internal error": {
                    "value": {
                      "error_code": 1020,
                      "message": "Internal error occurred"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "error_response": {
        "required": [
          "error_code",
          "message"
        ],
        "properties": {
          "error_code": {
            "type": "integer",
            "enum": [
              1000,
              1001,
              1002,
              1003,
              1004,
              1005,
              1006,
              1009,
              1020
            ],
            "example": 1002
          },
          "message": {
            "type": "string",
            "example": "Audience does not exist under your account"
          }
        }
      },
      "success_response": {
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "object",
            "example": null
          }
        }
      }
    }
  },
  "x-id": [
    "reitit.swagger/default"
  ]
}
```