Furthermore, going by your first answer I've been trying to add records to Contact Lists, through POST - /api/v2/outbound/contactlists/{contactListId}/contacts
Using lists both created through API first, without signaling any "custom-id" and also in Contact Lists that were created through the GUI using a column as ContactId.
In neither cases was I able to add a record adding the data.custom-id structure:
I was able to update an existing record, though.
Does any of these formats seem valid?
{
"id": "0102030305060708090a0b0c0d0e0f",
"contactListId": "9422b3f7-02c5-4076-80f7-0917e3251642",
"data": {
"telefono_cel1": "01564917288",
"telefono_cel2": "01654324321",
"telefono_cel3": ""
"id_unico_interaccion": "0102030305060708090a0b0c0d0e0f",
"id_proxima_interaccion": "0000030305060708090a0b0c000000",
"zone": "America/Argentina/Buenos_Aires",
"aux1": "39",
"aux2": "aux2-001",
"aux3": "aux3-012"
},
"callable": true
}
or
{
"id": "0102030305060708090a0b0c0d0e0f",
"contactListId": "9422b3f7-02c5-4076-80f7-0917e3251642",
"data": {
"custom-id": "0102030305060708090a0b0c0d0e0f",
"telefono_cel1": "01564917288",
"telefono_cel2": "01654324321",
"telefono_cel3": ""
"id_proxima_interaccion": "0000030305060708090a0b0c000000",
"zone": "America/Argentina/Buenos_Aires",
"aux1": "39",
"aux2": "aux2-001",
"aux3": "aux3-012"
},
"callable": true
}
(Note the missing "id_unico_interaccion")
or
{
"id": "0102030305060708090a0b0c0d0e0f",
"contactListId": "9422b3f7-02c5-4076-80f7-0917e3251642",
"data": {
"custom-id": "0102030305060708090a0b0c0d0e0f",
"name": "id_unico_interaccion",
"telefono_cel1": "01564917288",
"telefono_cel2": "01654324321",
"telefono_cel3": ""
"id_proxima_interaccion": "0000030305060708090a0b0c000000",
"zone": "America/Argentina/Buenos_Aires",
"aux1": "39",
"aux2": "aux2-001",
"aux3": "aux3-012"
},
"callable": true
}
(this variant includes the "name", mentioned in https://developer.mypurecloud.com/forum/t/able-to-set-id-using-api-to-add-contacts-to-list/2452)
or
{
"id": "0102030305060708090a0b0c0d0e0f",
"contactListId": "9422b3f7-02c5-4076-80f7-0917e3251642",
"data": {
"custom-id": "0102030305060708090a0b0c0d0e0f",
"telefono_cel1": "01564917288",
"telefono_cel2": "01654324321",
"telefono_cel3": ""
"id_unico_interaccion": "0102030305060708090a0b0c0d0e0f",
"id_proxima_interaccion": "0000030305060708090a0b0c000000",
"zone": "America/Argentina/Buenos_Aires",
"aux1": "39",
"aux2": "aux2-001",
"aux3": "aux3-012"
},
"callable": true
}
This variant includes the id, the custom-id, and the "id_unico_interaccion".
None of this options worked.