Skip to main content
POST
/
api
/
v1
/
presets
Create Preset
curl --request POST \
  --url https://api.example.com/api/v1/presets \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "country": "<string>",
  "external_ref": "<string>",
  "preset_description": "<string>",
  "preset_type": "company",
  "source_files": [
    {
      "base64": "<string>",
      "filename": "<string>",
      "name": "<string>"
    }
  ],
  "source_url": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Body

application/json
name
string
required
Required string length: 1 - 120
country
string | null
Maximum string length: 120
external_ref
string | null
Maximum string length: 255
preset_description
string | null
preset_type
string
default:company
source_files
PresetSourceFile · object[]
source_url
string | null
Maximum string length: 2048

Response

Successful Response