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
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".
Unique identifier for the contact.
The contact type:
payee or business.The contact’s updated status. Will be
archived.The contact’s display name.
Email addresses associated with the contact.
Phone number for the contact.
Allowed payment direction:
bidirectional, can_pay, can_be_paid, or none.Net payment terms in days, if configured.
Summary of the contact’s linked bank account.
Tax information for the contact.
Whether this contact can currently receive payments.
ISO 8601 timestamp of when the contact was created.
ISO 8601 timestamp of the most recent update.
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.