Zalo — Tags
List tags — zalo.list_tags
List all user tags of the OA.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | no | yes | — |
Input
No input.
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Zalo returns a list here; the declared object type cannot hold it yet. |
Tag user — zalo.tag_user
Add a tag to a user. Zalo creates the tag if it does not exist yet.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | medium | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | Zalo user ID of the OA follower. |
tag_name | string | yes | Tag name. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Not returned: Zalo replies only error and message. |
Untag user — zalo.untag_user
Remove a tag from a user.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | medium | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | Zalo user ID of the OA follower. |
tag_name | string | yes | Tag name. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Not returned: Zalo replies only error and message. |
Delete tag — zalo.delete_tag
Delete a tag from the OA and from every user that has it.
| Side effect | Risk | Needs approval | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | high | yes | no | — |
Input
| Field | Type | Required | Description |
|---|---|---|---|
tag_name | string | yes | Tag name. |
Extra fields: ignored.
Output
| Field | Type | Description |
|---|---|---|
data | object | Not returned: Zalo replies only error and message. |