# Webpush campaign model

You can send web pushes and get statistics of your campaigns through API.

Attributes Type Required Description
id integer no A unique identifier for the campaign which is given by User.com automatically.
name string yes A Webpush campaign name.
category integer no A unique identifier for the email category which is given by User.com automatically.
eta string no A DateTime when the campaign should be sent. Delivery will start instantly if not provided.
ttl integer no The number of seconds that a message may be stored if the user is not immediately available (Time To Live).
segment integer yes A unique identifier for the user segment which is given by User.com automatically.
messages list yes A list of objects. Each object is a valid web push message (check out the Webpush Message model).