archived and hides it from the default results of GET /v1/contacts. Archived contacts can be retrieved by filtering with status=archived and can be restored to active status at any time using the unarchive endpoint.
Base URL
Authentication
All requests must include a Bearer token in theAuthorization header.
Path Parameters
string
required
The unique identifier of the contact to archive.
Request Body
This endpoint does not accept a request body.Response
Returns the updatedContact object with HTTP status 200 OK and status: "archived".
string
Unique identifier for the contact.
string
The contact type:
payee or business.string
The contact’s updated status. Will be
archived.string | null
The contact’s display name.
string[]
Email addresses associated with the contact.
string | null
Phone number for the contact.
string
Allowed payment direction:
bidirectional, can_pay, can_be_paid, or none.number | null
Net payment terms in days, if configured.
object | null
Summary of the contact’s linked bank account.
object | null
Tax information for the contact.
boolean
Whether this contact can currently receive payments.
datetime
ISO 8601 timestamp of when the contact was created.
datetime | null
ISO 8601 timestamp of the most recent update.
datetime | null
ISO 8601 timestamp of when the contact was archived. Populated upon successful archival.
Example Request
curl
Example Response
200
Archiving is not the same as revoking. An archived contact has been intentionally hidden from your active contact list and can be restored using
POST /v1/contacts/{contactId}/unarchive. A revoked contact has had its access removed by Cleo Pay and cannot be restored through the API.