Consumers
Consumers are a core part of Swayware. We track, enrich and predict the behavior of consumers.
The consumer model
The consumer model contains all the information about your consumers.
Properties
- Name
id
- Type
- string
- Description
Unique identifier for the consumer.
- Name
todo
- Type
- string
- Description
Need to change these properties.
- Name
last_active_at
- Type
- timestamp
- Description
Timestamp of when the consumer was last active on the platform.
- Name
created_at
- Type
- timestamp
- Description
Timestamp of when the consumer was created.
GET/consumers/:id
Retrieve a consumer
This endpoint allows you to retrieve a consumer by providing their Swayware ID. Refer to the list at the top of this page to see which properties are included with consumer objects.
Request
GET
/consumers/WAz8eIbvDR60rouKcurl https://api.swayware.com/consumers/WAz8eIbvDR60rouK \
-H "Authorization: Bearer {token}"
Response
{
"todo": "change this"
}