Create ticket w/ email flow via API

@MrGeneration This doesn’t seem to work for me unfortunately - the article still comes back as a note. Please let me know anything I should try out!

This is the ticket I am creating:

{
    "article": {
        "body": "foo",
        "from": "foo@bar.com",
        "internal": false,
        "subject": "foo",
        "to": "support@company.com",
        "sender": "Customer",
        "type": "email",
        "type_id": 1
    },
    "customer_id": 1358,
    "group": "Users",
    "status": 1,
    "title": "foo"
}

But this is the article that I get back:

{
    "id": 8812,
    "ticket_id": 4016,
    "type_id": 10,
    "sender_id": 2,
    "from": " ",
    "to": "support@company.com",
    "cc": null,
    "subject": "foo",
    "reply_to": null,
    "message_id": null,
    "message_id_md5": null,
    "in_reply_to": null,
    "content_type": "text\/plain",
    "references": null,
    "body": "asd",
    "internal": false,
    "preferences": {},
    "updated_by_id": 1358,
    "created_by_id": 1358,
    "origin_by_id": 1358,
    "created_at": "2019-07-22T17:33:35.925Z",
    "updated_at": "2019-07-22T17:33:35.925Z",
    "attachments": [],
    "type": "note",
    "sender": "Customer",
    "created_by": "foo@bar.com",
    "updated_by": "foo@bar.com",
    "origin_by": "foo@bar.com"
}