Subscribe a contact to list(s)

Subscribe a contact to one or more lists.

Error cases

Contact does not exist (404)

{
    "status": 404,
    "errors": [
        {
            "error_key": "id",
            "error": "wrong_value",
            "error_description": "Record not found for id [email protected]."
        }
    ]
}

List does not exist (400)

{
    "status": 400,
    "errors": [
        {
            "error_key": "lists",
            "error": "wrong_value",
            "error_description": "list 999 does not exist"
        }
    ]
}

List malformatted (string instead of int) (400)

{
    "status": 400,
    "errors": [
        {
            "error_key": "lists",
            "error": "wrong_value",
            "error_description": "lists for contact created should contains id key"
        }
    ]
}
Language
Credentials
Bearer
JWT
URL
Click Try It! to start a request and see the response here!