I’m using the Conversations API to allow users to see the full conversation thread directly from my app. I want the users to be able to reply to a message as well.
I tried using the endpoint https://api.hubapi.com/conversations/v3/conversations/threads/{threadId}/messages
I can get most of the requested parameters such as channelId, channelAccountId, from the other messages in the thread, but if the user has never responded there is not way for me to see their “senderActorId” .
The only way I’m able to get their Id is if the user has replied externally (by email).
I’ve attempted constructing the actor id like “A-{contactId}”, but
this is the response I get back from the API
```
HI @BMUribe,
Thanks for reaching out to the Community! I understand you’d like to know how to get the actorID of contact when using the Conversations API (BETA) mentioned here.
In our documentation, it’s noted here that to get the Actor ID, you must make a request to get a message or thread and it will be provided in the response.
Please let me know if there are any additional questions or mark this as an accepted solution if it has resolved your query!
Best,
Has anyone solved this yet? getting the same issue:
Exception
Error response 400 while sending message: {"status":"error","message":"Multiple errors validating request.","correlationId":"eb6ef88d-78a4-466b-b537-52235491f7ba","errors":[{"subCategory":"ConversationsApiError.UNSUPPORTED_ACTOR_TYPE","message":"Actor type VISITOR is not supported for sending","context":{"actorType":["VISITOR"],"operation":["sending"]}},{"subCategory":"ConversationsApiError.INVALID_ARGUMENT_TYPE","message":"Invalid actorId type","context":{"parameter":["actorId"]}}],"category":"VALIDATION_ERROR"}