POST /v1/customer-traits:ingest
TenantService_IngestCustomerTrait
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
customer_account_idstringexpires_atstringobserved_atstringschema_versionstringsourcestringsource_event_idstringsource_refstringtrait_keystringvalue_jsonstringvalue_typestring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/customer-traits:ingest' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"customer_account_id": "<value>",
"expires_at": "<value>",
"observed_at": "<value>",
"schema_version": "<value>",
"source": "<value>",
"source_event_id": "<value>",
"source_ref": "<value>",
"trait_key": "<value>",
"value_json": "<value>",
"value_type": "<value>"
}'Response contract
200 · OK
customer_account_idstringenvironment_idstringexpires_atstringidstringobserved_atstringsourcestringsource_refstringtrait_keystringupdated_atstringvalue_jsonstringvalue_typestringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.