Skip to main content
POST
Create a reference list

Authorizations

X-API-Key
string
header
required

Body

name
string
required

The name rules refer to, e.g. mule_accounts. It cannot be changed later

Maximum string length: 100
valueType
enum<string>
required

What the list holds. Values are normalised by type, so LT12 1000 matches LT121000

  • COUNTRY - Country
  • ACCOUNT - Account / IBAN
  • WALLET - Wallet address
  • IP - IP address
  • TEXT - Text
Available options:
COUNTRY,
ACCOUNT,
WALLET,
IP,
TEXT
partnerId
string | null
write-only

Target partner id; honored only for multi-partner operators, ignored otherwise.

description
string | null
Maximum string length: 500

Response

201 - application/json
id
string<uuid>
required
read-only

Primary key

partnerId
integer
required
read-only
name
string
required
read-only

Slug a rule refers to, e.g. mule_accounts; ^[a-z0-9_]+$

valueType
enum<string>
required

What the list holds; decides normalisation

  • COUNTRY - Country
  • ACCOUNT - Account / IBAN
  • WALLET - Wallet address
  • IP - IP address
  • TEXT - Text
Available options:
COUNTRY,
ACCOUNT,
WALLET,
IP,
TEXT
description
string | null
required
read-only

What the list is for

entryCount
integer
default:0
required
read-only

Entries on the list

createdAt
string<date-time>
required
read-only
updatedAt
string<date-time>
required
read-only
usedBy
object
required
read-only

What tests against the list; it cannot be deleted while used

sourceUrl
string<uri> | null
required
read-only

https:// file of values this list can sync from

lastSyncedAt
string<date-time> | null
required
read-only

When the last sync ran

lastSyncStatus
string | null
required
read-only

SUCCEEDED or FAILED, for the last sync

lastSyncError
string | null
required
read-only

Why the last sync failed

lastSyncSummary
any | null
required
read-only

Counts from the last sync: added, removed, unchanged, rejected