Import historical click records for previously sent messages.
message_id is stored (MessageClick uses message_id as its primary key), so duplicate entries are automatically skipped.
Importing clicks also updates the associated ListContact’s denormalized stats: click_count and last_clicked_at.
trk_[32-char-hex].message_id.index (integer) — Position of the failed record in the input array.code (string) — Machine-readable error code.error (string) — Human-readable error description.| HTTP Status | Error Code | Description |
|---|---|---|
| 400 | missing_records | The records field is required and must be a non-empty array. |
| 413 | too_many_records | Exceeded the maximum of 1,000 records per request. |
| 400 | missing_message_id | A record is missing the message_id field. |
| 400 | missing_offer_id | A record is missing the offer_id field. |
| 400 | missing_phone_number | A record is missing the phone_number field. |
| 400 | missing_timestamp | A record is missing the timestamp field. |
| 404 | message_not_found | No message exists with the given message_id. |
| 404 | offer_not_found | No offer exists with the given offer_id. |
| 400 | invalid_timestamp | The timestamp is not a valid ISO 8601 datetime. |
| 500 | save_error | An unexpected error occurred while saving the record. |