I am trying to add participant data to the attributes field but it doesn't seem to be working.
Using the API Explorer 'create conversation' (/api/v2/conversations/calls) if I make a call with data that looks like this:
{
"attributes": {
"recordId": "12345",
"test_data": "true"
},
"phoneNumber": "2484345508"
}
It will make the phone call to that number but when I look at the conversation data using /api/v2/conversations/calls/{conversationId}
This is the data that I see:
{
"id": "9f5c4abd-cc64-47ee-969e-94c3749ac89f",
"participants": [
{
"id": "ea050130-337f-4537-b70d-1fd1d7dba272",
"address": "sip:62fe6d635e7e851ac2b8725b+************.orgspan.com@localhost",
"startTime": "2024-06-18T16:38:50.486Z",
"connectedTime": "2024-06-18T16:38:53.355Z",
"endTime": "2024-06-18T16:39:57.646Z",
"purpose": "user",
"state": "terminated",
"direction": "outbound",
"disconnectType": "client",
"held": false,
"wrapupRequired": false,
"mediaRoles": [
"full"
],
"user": {
"id": "1d53407c-f009-4611-964e-3a8291b5b481",
"selfUri": "/api/v2/users/1d53407c-f009-4611-964e-3a8291b5b481"
},
"attributes": {},
Shouldn't I be seeing the attributes that I have set in the previous api call to create the conversation? Is this a bug or am I doing something wrong?