Skip to main content

Trying to attach a tag to multiple contacts by following the API docs but it doesn't work.

How am I supposed to pass the tag id?

 

When I tag individual user and pass the

{ "id": "tag-id" }

the API returns

"errors":

{

"code": "not_found",

"message": "Resource Not Found"

}

]

despite of the tag existing. Confirmed with get all tags API call.

Hey @tomek​ Racheal from the Support Engineer team here 👋

 

To tag multiple users using the API you will want to use the endpoint:

https://api.intercom.io/tags/code>

And insert a users array in the body:

{

"name" : "Testing Tag",

"users": t

{

"id": "12345"

},

{

"id": "123456"

}

]

}

It looks like our docs are missing the tag name, thanks for flagging! I'll let the team know to get that updated. 👍


Reply