Skip to main content

Contacts

GET /v2/contacts

List contacts

Parameters

ParameterInTypeRequiredDescription
pagequeryintegernoDefault: 1.
limitqueryintegernoDefault: 25.
typequeryINTERNAL | EXTERNAL_CRYPTO | BANK_ACCOUNTnoFilter by contact type.

Responses

CodeDescriptionBody
200Success.data: ContactResource[] · pagination: PaginationMeta
401application/problem+json (RFC 9457) — branch on code, not on the status: unauthorized (not retryable), key_expired (not retryable), key_revoked (not retryable).
403application/problem+json (RFC 9457) — branch on code, not on the status: insufficient_scope (not retryable), ip_not_allowed (not retryable), api_access_disabled (not retryable).
429application/problem+json (RFC 9457) — branch on code, not on the status: rate_limited (retryable).
500application/problem+json (RFC 9457) — branch on code, not on the status: internal_error (retryable).
502application/problem+json (RFC 9457) — branch on code, not on the status: downstream_unavailable (retryable).
503application/problem+json (RFC 9457) — branch on code, not on the status: maintenance (retryable).

GET /v2/contacts/{contactId}

Get a contact by id

Parameters

ParameterInTypeRequiredDescription
contactIdpathstringyes

Responses

CodeDescriptionBody
200Success.ContactResource
401application/problem+json (RFC 9457) — branch on code, not on the status: unauthorized (not retryable), key_expired (not retryable), key_revoked (not retryable).
403application/problem+json (RFC 9457) — branch on code, not on the status: insufficient_scope (not retryable), ip_not_allowed (not retryable), api_access_disabled (not retryable).
404application/problem+json (RFC 9457) — branch on code, not on the status: not_found (not retryable).
429application/problem+json (RFC 9457) — branch on code, not on the status: rate_limited (retryable).
500application/problem+json (RFC 9457) — branch on code, not on the status: internal_error (retryable).
502application/problem+json (RFC 9457) — branch on code, not on the status: downstream_unavailable (retryable).
503application/problem+json (RFC 9457) — branch on code, not on the status: maintenance (retryable).

PATCH /v2/contacts/{contactId}

Edit a contact's reference/alias

Parameters

ParameterInTypeRequiredDescription
contactIdpathstringyes

Request bodyUpdateContactReferenceDto

Responses

CodeDescriptionBody
200Success.ContactResource
400application/problem+json (RFC 9457) — branch on code, not on the status: validation_error (not retryable).
401application/problem+json (RFC 9457) — branch on code, not on the status: unauthorized (not retryable), key_expired (not retryable), key_revoked (not retryable).
403application/problem+json (RFC 9457) — branch on code, not on the status: insufficient_scope (not retryable), ip_not_allowed (not retryable), api_access_disabled (not retryable).
404application/problem+json (RFC 9457) — branch on code, not on the status: not_found (not retryable).
422application/problem+json (RFC 9457) — branch on code, not on the status: unprocessable (not retryable).
429application/problem+json (RFC 9457) — branch on code, not on the status: rate_limited (retryable).
500application/problem+json (RFC 9457) — branch on code, not on the status: internal_error (retryable).
502application/problem+json (RFC 9457) — branch on code, not on the status: downstream_unavailable (retryable).
503application/problem+json (RFC 9457) — branch on code, not on the status: maintenance (retryable).

Schemas

BankContactDetails

FieldTypeDescription
assetSymbolstring | nullAsset this account settles in. Always a FIAT code — a bank account cannot be denominated in a crypto asset or a tokenised equity. e.g. CLP.
nationalIdstring | nullThe account holder's national id.
bankIdstring | null
bankNamestring | nulle.g. Banco de Chile.
accountTypeIdstring | null
bankAccountTypestring | nulle.g. CHECKING.
bankAccountNumberstring | null
accountEmailstring | null

ContactResource

FieldTypeDescription
idstring
referencestring | null
typeINTERNAL | EXTERNAL_CRYPTO | BANK_ACCOUNTWhich kind of destination this is, and therefore which detail block is present: EXTERNAL_CRYPTOcrypto, BANK_ACCOUNTbank, INTERNAL → neither.
aliasstring
createdAtstring
updatedAtstring
crypto (optional)anyPresent only when type is EXTERNAL_CRYPTO.
bank (optional)anyPresent only when type is BANK_ACCOUNT.

CryptoContactDetails

FieldTypeDescription
assetSymbolstring | nullAsset code this address receives. e.g. BTC.
assetNamestring | nulle.g. Bitcoin.
networkSymbolstring | nullNetwork the address lives on. e.g. BTC.
networkNamestring | nulle.g. Bitcoin.
addressstring | nullThe on-chain destination address.
tagstring | nullDestination tag / memo, for chains that require one (XRP, XLM…). Null otherwise.

PaginationMeta

FieldTypeDescription
pagenumbere.g. 1.
limitnumbere.g. 25.
totalItemsnumbere.g. 100.
totalPagesnumbere.g. 4.

Problem

FieldTypeDescription
typestringStable problem-type URI. Resolves to docs for this error. e.g. https://docs.skipo.com/errors/rate_limited.
titlestringShort, human-readable summary (stable, English). e.g. Rate limit exceeded.
statusnumberHTTP status code. e.g. 429.
codestringStable machine-readable error code (equals the last path segment of type). e.g. rate_limited.
retryablebooleanWhether retrying the identical request may succeed. e.g. true.
detail (optional)stringHuman-readable, possibly localized detail.
instance (optional)stringThe request path that produced the error.
traceId (optional)stringTrace id — joins BigQuery api_request and Cloud Logging.

UpdateContactReferenceDto

FieldTypeDescription
referencestringNew reference/alias label for the contact (does not change the destination).

Back to the endpoint reference. See also: Pagination · Errors · Ids and correlation.