---
title: "Creates new or updates existing profile(s)"
method: POST
path: "/profiles/"
tags: ["profiles"]
---

# Creates new or updates existing profile(s)

`POST /profiles/`

## Request

- Base URL: `https://api.autron.ai`
- URL: `https://api.autron.ai/profiles/`
- Auth: API key in header `Authorization`

## Request body

- Profile
  - `public_id` string: unique ad profile public id
  - `profile_id` integer: amazon ad profile id (BigInteger)
  - `account_info_marketplace_string_id` string: ad profile account marketplace id
  - `account_info_id` string: ad profile account id
  - `account_info_type` string: ad profile account type
  - `account_info_name` string: ad profile account name
  - `account_info_sub_type` string: ad profile account sub type
  - `adapi_access` boolean: advertising api access
  - `ads_consent_date` string, date-time: Amazon Ads OAuth consent timestamp
  - `ads_refresh_expires_at` string, date-time: Amazon Ads refresh token expiry (consent + 365d)

## Response `200`

Success

---

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