GET
/
users
/
{userId}
/
counterparty-category-personalizations
Get all user-level counterparty category personalizations
curl --request GET \
  --url https://east.sandbox.spade.com/users/{userId}/counterparty-category-personalizations \
  --header 'X-Api-Key: <api-key>'
[
  {
    "counterpartyId": "d730906b-f1a8-49f1-9939-f27390170a6d",
    "categoryId": "011-000-000-000",
    "userId": "user1234"
  }
]

Authorizations

X-Api-Key
string
header
required

Path Parameters

userId
string
required

The userId of the relevant user.

Response

Successful operation

An array of counterparty category personalizations.

counterpartyId
string
required

The ID of the counterparty.

Examples:

"d730906b-f1a8-49f1-9939-f27390170a6d"

categoryId
string
required

The ID of the category. Can be a Spade category ID (e.g. "011-000-000-000") or a custom category ID (e.g. "e4cf5379-583f-44ed-b625-366044e666e6").

Examples:

"011-000-000-000"

userId
string

The ID of the newly created counterparty category personalization.

Examples:

"user1234"