İçeriğe geç

Endpoint'ler

Tags

The workspace tag list that contact tags come from.

Yollar temel URL'ye göredir. Her kart, çağrının gerektirdiği izni ve her parametreyi türü ve sınırlarıyla listeler.

GET
/tags

List workspace tags.

İzin: contacts
POST
/tags

Create a workspace tag.

İzin: contacts

JSON gövdesi

  • namezorunlustring

    1–80 characters. Must be unique (case-insensitive), else 409.

  • coloristeğe bağlıenum | null

    Tag color.

    İzin verilen değerler:chart-1chart-2chart-3chart-4chart-5chart-6chart-7chart-8

PATCH
/tags/:id

Rename or recolor a tag. A rename updates every contact that has it. Send name, color, or both.

İzin: contacts

Yol parametreleri

  • idzorunluinteger

    Tag ID.

JSON gövdesi

  • nameisteğe bağlıstring

    1–80 characters.

  • coloristeğe bağlıenum | null

    Tag color.

    İzin verilen değerler:chart-1chart-2chart-3chart-4chart-5chart-6chart-7chart-8

DELETE
/tags/:id

Delete a tag and remove it from every contact. The response includes contacts_updated.

İzin: contacts

Yol parametreleri

  • idzorunluinteger

    Tag ID.