Issue creating a call conversation with attributes

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?

Have you looked at the customer/external participant in the call? Does it have the participant data?

I've attached the conversation data that I got back from the API request. Doesn't look like the customer participant has the attributes set either.

[file redacted]

If any of the phone numbers in that file were real phone numbers, please follow your company's policy for data leaks as the file was exposed to the public internet for a period of time. I've removed the file from your post and have permanently deleted the file from my computer.

Please open a case with Genesys Cloud Care to investigate the missing participant data.

no worries. It was just a toll free number that plays "Never going to give you up". I'll look into opening a support case

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.