RepromptDocs
Jobs

Submit a single enrichment job

POST
/place_enrichment/jobs

Submit a place for asynchronous enrichment processing.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

apiKey?string|null

Request Body

application/json
  1. body
place_id*Place Id

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

inputs*

The place to enrich

attributes?array<string>|

List of attribute keys to enrich. See GET /{org_slug}/place_enrichment/attributes_internal for available keys and their required inputs. If both attribute_set and attributes are provided, both are merged (explicit attributes are added to the set from attribute_set).

attribute_set?|

Deprecated preset for common enrichment requests. Prefer an explicit attributes list. open_closed checks whether a place is open or permanently closed, while core and all both request closed_permanently, websites, phoneNumbers, openingHours, names, address, and categories.

attributes_enrichments?array<>|null
refresh?Refresh

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

Defaultfalse

Response Body

Successful Response

application/json
  1. response
[key: string]?any
Example Request
curl -X POST 'https://api.repromptai.com/v1/reprompt/place_enrichment/jobs' \  -H 'Content-Type: application/json' \  -d '{  "place_id": "string",  "inputs": {    "name": "string",    "full_address": "string",    "country_code": "string",    "latitude": 0,    "longitude": 0  }}'
Example Response
{}