Skip to main content
POST
/
codes
/
create
/
file
create via file
curl --request POST \
  --url https://api.example.com/codes/create/file \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Body

application/json

Schema extraction failed for ContractFileBody: Cannot generate a JsonSchema for core_schema.IsInstanceSchema (<class 'starlette.datastructures.UploadFile'>)

For further information visit https://errors.pydantic.dev/2.11/u/invalid-for-json-schema

Response

Successful Response

id
string
required