Trello.js - API library
    Preparing search index...

    Interface CreateCard

    interface CreateCard {
        address?: string;
        coordinates?: string;
        desc?: string;
        due?: string;
        dueComplete?: boolean;
        fileSource?: string;
        idCardSource?: string;
        idLabels?: string[];
        idList: string;
        idMembers?: string[];
        keepFromSource?:
            | string
            | string[]
            | (
                | "start"
                | "labels"
                | "due"
                | "members"
                | "attachments"
                | "checklists"
                | "customFields"
                | "comments"
                | "stickers"
            )[];
        locationName?: string;
        mimeType?: string;
        name?: string;
        pos?: number
        | "top"
        | "bottom";
        urlSource?: string;
    }
    Index

    Properties

    address?: string

    For use with/by the Map View

    coordinates?: string

    For use with/by the Map View. Should take the form latitude,longitude

    desc?: string

    The description for the card

    due?: string

    A due date for the card

    dueComplete?: boolean
    fileSource?: string
    idCardSource?: string

    The ID of a card to copy into the new card

    idLabels?: string[]

    Comma-separated list of label IDs to add to the card

    idList: string

    The ID of the list the card should be created in

    idMembers?: string[]

    Comma-separated list of member IDs to add to the card

    keepFromSource?:
        | string
        | string[]
        | (
            | "start"
            | "labels"
            | "due"
            | "members"
            | "attachments"
            | "checklists"
            | "customFields"
            | "comments"
            | "stickers"
        )[]

    If using idCardSource you can specify which properties to copy over. all or comma-separated list of:

    • Attachments
    • Checklists
    • CustomFields
    • Comments
    • Due
    • Labels
    • Members
    • Start
    • Stickers
    locationName?: string

    For use with/by the Map View

    mimeType?: string

    The mimeType of the attachment. Max length 256

    name?: string

    The name for the card

    pos?: number | "top" | "bottom"

    The position of the new card. top, bottom, or a positive float

    urlSource?: string

    A URL starting with http:// or https://