• Actions
    • Applications
    • Batch
    • Boards
    • Cards
    • Checklists
    • CustomFields
    • Emoji
    • Enterprises
    • Labels
    • Lists
    • Members
    • Notifications
    • Organizations
    • Plugins
    • Tokens
    • Webhooks
    Cloud
    Trello / Reference / REST API

    Rate this page:

    Labels

    Postman Collection
    OpenAPI
    GET

    Get a Label

    Get information about a single Label.

    Request

    Path parameters

    id

    TrelloID

    Required

    Query parameters

    fields

    string

    Responses

    Success

    GET/labels/{id}
    1 2 curl --request GET \ --url 'https://api.trello.com/1/labels/{id}?key=APIKey&token=APIToken'
    PUT

    Update a Label

    Update a label by ID.

    Request

    Path parameters

    id

    TrelloID

    Required

    Query parameters

    name

    string

    color

    Color

    Responses

    Success

    PUT/labels/{id}
    1 2 curl --request PUT \ --url 'https://api.trello.com/1/labels/{id}?key=APIKey&token=APIToken'
    DEL

    Delete a Label

    Delete a label by ID.

    Request

    Path parameters

    id

    TrelloID

    Required

    Responses

    Success

    DEL/labels/{id}
    1 2 curl --request DELETE \ --url 'https://api.trello.com/1/labels/{id}?key=APIKey&token=APIToken'
    PUT

    Update a field on a label

    Update a field on a label.

    Request

    Path parameters

    id

    string

    Required
    field

    string

    Required

    Query parameters

    value

    TrelloID

    Required

    Responses

    Success

    PUT/labels/{id}/{field}
    1 2 curl --request PUT \ --url 'https://api.trello.com/1/labels/{id}/{field}?value=5abbe4b7ddc1b351ef961414&key=APIKey&token=APIToken'
    POST

    Create a Label

    Create a new Label on a Board.

    Request

    Query parameters

    name

    string

    Required
    color

    Color

    Required
    idBoard

    string

    Required

    Responses

    Success

    POST/labels
    1 2 curl --request POST \ --url 'https://api.trello.com/1/labels?name={name}&color={color}&idBoard={idBoard}&key=APIKey&token=APIToken'