Custom Property
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST | |
GET | |
POST |
List all custom property sources
Required API key scopes
account:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /custom_property_sourcesExample response
Status 200
RESPONSE
Create custom property sources
Required API key scopes
account:writeRequest parameters
- definitionstring
- saved_querystringnull
- external_data_schemastringnull
- source_columnstringnull
- column_property_map
- column_descriptions
- key_columnstring
- is_enabledbooleanDefault:
true
Response
Example request
POST /api /projects /:project_id /custom_property_sourcesExample response
Status 201
RESPONSE
Retrieve custom property sources
Required API key scopes
account:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /custom_property_sources /:idExample response
Status 200
RESPONSE
Update custom property sources
Required API key scopes
account:writePath parameters
- idstring
Request parameters
- source_columnstring
- key_columnstring
- is_enabledboolean
Response
Example request
PATCH /api /projects /:project_id /custom_property_sources /:idExample response
Status 200
RESPONSE
Delete custom property sources
Required API key scopes
account:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /custom_property_sources /:idExample response
Status 204 No response body
Create custom property sources
Person and group sources only: start a backfill that reads the whole warehouse table and populates person or group properties for historical rows. Coalesces if one is already running for the table.
Path parameters
- idstring
Response
Example request
POST /api /projects /:project_id /custom_property_sources /:id /backfillExample response
Status 202
RESPONSE
List all custom property sources runs
Person and group sources only: the source's sync/backfill run history, newest first. Gated on the caller's warehouse-source viewer access, since the runs expose its row counts and sync errors.
Path parameters
- idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /custom_property_sources /:id /runsExample response
Status 200
RESPONSE
Create custom property sources
Person and group sources only: trigger the underlying warehouse schema's sync now. This re-runs a real (billable) warehouse sync; the incremental person/group-property update runs off it.
Path parameters
- idstring
Response
Example request
POST /api /projects /:project_id /custom_property_sources /:id /syncExample response
Status 202
RESPONSE