List the static lists this contact belongs to

GET https://emails.routeon.io/api/v1/contacts/{id}/lists

Parameters

id string<uuid> required path

Responses

200 List of audiences the contact belongs to
404 Resource not found within tenant scope

Example response · 200

{
    "status": "success",
    "http_code": 0,
    "payload": [
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "tenant_id": "00000000-0000-0000-0000-000000000000",
            "name": "string",
            "kind": "static",
            "filter": {
                "op": "and",
                "conditions": [
                    null
                ]
            },
            "member_count": 0,
            "deleted_at": "2024-01-01T00:00:00Z",
            "created_at": "2024-01-01T00:00:00Z"
        }
    ],
    "meta": {
        "per_page": 0,
        "cursor": "string"
    }
}

Example response · 404

{
    "status": "error",
    "http_code": 0,
    "payload": [],
    "meta": {
        "reason": "VALIDATION_ERROR",
        "validation_error": [
            {
                "field": "string",
                "message": "string"
            }
        ],
        "details": []
    }
}