Journeys
Get Journeys Traits
Journeys
Get Journeys Traits
GET
/
journey
/
{user_id}
/
traits
curl --request GET \
--url https://api.onfabric.io/api/v1/journey/{user_id}/traits
{
"sex": [
{
"category": "<string>",
"score": 123,
"support": 123
}
],
"country": [
{
"category": "<string>",
"score": 123,
"support": 123
}
],
"age": [
{
"category": "<string>",
"score": 123,
"support": 123
}
],
"political_affiliation": [
{
"category": "<string>",
"score": 123,
"support": 123
}
],
"affluence": [
{
"category": "<string>",
"score": 123,
"support": 123
}
]
}
Headers
The api key generated from the Fabric developer portal
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.onfabric.io/api/v1/journey/{user_id}/traits
{
"sex": [
{
"category": "<string>",
"score": 123,
"support": 123
}
],
"country": [
{
"category": "<string>",
"score": 123,
"support": 123
}
],
"age": [
{
"category": "<string>",
"score": 123,
"support": 123
}
],
"political_affiliation": [
{
"category": "<string>",
"score": 123,
"support": 123
}
],
"affluence": [
{
"category": "<string>",
"score": 123,
"support": 123
}
]
}