Skip to main content
POST
/
place_enrichment
/
jobs
Submit Job
curl --request POST \
  --url https://api.repromptai.com/v1/{org}/place_enrichment/jobs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "place_id": "place_nyc_123",
  "inputs": {
    "name": "Joes Pizza",
    "latitude": 40.7359,
    "longitude": -73.9911,
    "full_address": "7 Carmine St, New York, NY 10014"
  },
  "attribute_set": "core",
  "attributes": [
    "menu",
    "owner_info"
  ]
}'
{}

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
place_id
string
required

The customer-identifier for the place and retained as external_customer_id in the database. When not set, will automatically generate a UUID.

inputs
object
required
attributes
string[] | null

List of specific attributes to enrich using enum values (e.g., email_address, phone_number). If both attribute_set and attributes are provided, attributes takes precedence.

attribute_set
enum<string> | null

Specifies the set of attributes to enrich Defines the set of attributes to enrich for a place.

Available options:
open_closed,
core,
all
attributes_enrichments
Attributes Enrichments · object[] | null
refresh
boolean
default:false

If true, will force a refresh of the place even if it has already been enriched.

Response

Successful Response

The response is of type object.

I