setting and sending array to timeline event template

Good day
I want to use timeline event templates to capture survey questions and answers. Some of the questions allow multiple answers.
e.g. which devices do you own?

  • radio
  • tv
  • clock

So 2 questions specifically

  1. What type of property do I create to store this in template? This leads me to believe I would use enumeration Understand property field types in HubSpot
  2. How do I then send the array to it when recording the event (this endpoint https://api.hubapi.com/crm/v3/timeline/events)
    I have tried [1,2,3] , [“1”,“2”,'3"] semi colons vs commas and everything inbetween… but nothing works beyond sending only ONE answer

Hey, @daperlman :waving_hand: Thanks for your question.

Can you share a full example of your API request, including the request body and the response you receive? This can significantly help to diagnose the issue. This detail is crucial for understanding exactly how you’re attempting to send multiple answers and what might be going wrong.

Thanks! — Jaycee

Here is a request and response but regardless of this… there is no documentation as to how to store array or send via api
POST /crm/v3/timeline/events HTTP/1.1
Host: api.hubapi.com
Content-Type: application/json
Authorization: Bearer REMOVED
Content-Length: 222
{
“eventTemplateId”: “130****”,
“email”: *****@****.com<>,
“tokens”: {
“surveyName”:“OC prototype”,
“rate_question”:“2”,
“choose_one”:“1”,
“favorite_color”:“Red,White”
}
}
{
“status”: “error”,
“message”: “Couldn’t validate some supplied token values: ‘Red,White’ is not a valid option for ‘favorite_color’. Must be one of [blue, red, white].”,
“correlationId”: “5d21740b-ed79-4f11-8c24-2100e753062b”,
“context”: {
“errorDetails”: [
“‘Red,White’ is not a valid option for ‘favorite_color’. Must be one of [blue, red, white].”
]
},
“category”: “VALIDATION_ERROR”,
“subCategory”: “TimelineEventErrors.INVALID_TOKENS_ERROR”
}