Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Business → Create Tag

AI-generated

Summary

Creates a new tag in the Business resource.

Inputs

  • name (required) — The tag name
  • color (required) — The tag color index (0-19)
  • requestOptions — Additional request configuration such as batching, SSL settings, proxy, and timeout
  • allowUnauthorizedCerts — Whether to skip SSL certificate validation
  • proxy — HTTP proxy URL, optionally with authentication credentials
  • timeout — Request timeout in milliseconds

Output shape

object

Returns the created tag object; fields may include the tag ID and other metadata.

Examples

Example 1: Create a tag named 'Urgent' with color 5

{"name":"Urgent","color":5}

Example 2: Create a tag with batching enabled (50 items per batch)

{"name":"Important","color":2,"requestOptions":{"batching":{"batch":{"batchSize":50}},"timeout":5000}}

Example 3: Create a tag using a custom proxy and disabling SSL verification

{"name":"Finance","color":7,"proxy":"http://user:pass@proxy.example.com:8080","allowUnauthorizedCerts":true}

Links

Discussion