Skip to content
Sursa Developers

Objects

CardTextUpsert

Text card for PUT /v1/cards-by-external-id/{external_id}. If the card does not exist, it is created (title and body are required). If it exists, the text is replaced with a new version when it changed, and the card details take the values passed. The collection and folder apply only when the card is created.

Fields

  • titlestring

    length ≥ 1, length ≤ 200

  • bodystringrequired

    Card text in the content_type format.

    length ≥ 1, length ≤ 500000

  • collectionstring

    Collection by name, when the card is created. By default, the default collection of the installation.

  • collection_idinteger | null

    Collection by ID, when the card is created. When collection is passed too, collection_id wins.

  • folder_idstring | null

    Folder of the collection for the new card, with the same checks as folder_id of a file upload.

    length ≤ 64

  • tagsarray of string | null

    items ≤ 30

  • categorystring | null

    length ≤ 60

  • sensitiveboolean | null
  • owner_idinteger | null
  • verify_interval_daysinteger | null

    ≥ 1, ≤ 3650

  • asyncboolean

    true returns right away and indexes the card in the queue; false returns after indexing.

    Default: false

Used by