SmartWats Cloud API
    • Send Message
      POST
    • Send Media Message
      POST
    • Send Template Message
      POST
    • Get Template List
      GET
    • Send Carousel Template Message
      POST
    • Create Contact
      POST
    • Create Campaign
      POST
    • Campaign List
      GET
    • Campaign Status
      GET
    • Update Contact
      POST
    • Get Contacts
      GET
    • Get Single Contact
      GET
    • Send Interactive Message
      POST
    • Assign Team Member and Enable/Disable AI Bot and Bot Reply
      POST
    • Get Contact Groups
      GET
    • Get Contact Labels and Tags
      GET
    • Get Message Status
      GET
    • Assign Groups to Contacts
      POST
    • Unassign Groups from Contacts
      POST
    • Assign Labels to Contacts
      POST
    • Unassign Labels to Contacts
      POST

      Assign Labels to Contacts

      POST
      /{{vendorUid}}/contact/assign-labels
      Send Message

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************
      Body Params application/jsonRequired

      Examples

      Responses

      🟢200
      application/json
      Body

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location -g --request POST '/{{vendorUid}}/contact/assign-labels' \
      --header 'Authorization: Bearer <token>' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "contacts_uid" : ["2c3199e8-ba01-4988-b752-a95250cc3ea4"],
          "labels_uid" : [
              "8bcd35b1-5e06-45e3-aa5a-394eda85b344",
              "aae646a0-d635-4d63-8bce-697a9f2d98d2"
          ]
      }'
      Response Response Example
      {}
      Modified at 2026-04-22 11:07:32
      Previous
      Unassign Groups from Contacts
      Next
      Unassign Labels to Contacts
      Built with