Skip to main content
POST
/
place_enrichment
/
custom_attributes
Create a new AI attribute with a default schema
curl --request POST \
  --url https://api.repromptai.com/v1/{org}/place_enrichment/custom_attributes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>"
}'
{
  "attribute_key": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

apiKey
string | null

Body

application/json
name
string
required

Name for the new AI attribute

description
string | null

Optional description for the attribute

Response

201 - application/json

Successful Response

Response model for custom attribute creation

attribute_key
string
required
data
object
required
I