Skip to main content
POST
/
enrich
curl --request POST \
  --url https://api.reprompt.io/v2/enrich \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "inputs": {
    "name": "Joe's Pizza",
    "latitude": 40.7359,
    "longitude": -73.9911,
    "full_address": "7 Carmine St, New York, NY 10014"
  },
  "attribute_key": "closed_permanently"
}
EOF
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token in the format: Bearer YOUR_API_KEY

Body

application/json

Main enrichment request

inputs
Inputs · object
required
attribute_key
string
required

Response

Successful Response