Comments (1)
Hi @nozpheratu,
It looks like wrong request used for adding tags to contact. You can use the below request for adding tags to contacts:
Request : https://{domain}.agilecrm.com/dev/api/contacts
Method: PUT
Content-Type: application/json
Body:
{
"id": 5759084401786880,
"tags": ["Lead1","LikelyBuyer1"]
}
Using CURL:
https://{domain}.agilecrm.com/dev/api/contacts -H "Content-Type: application/json" -d { "id": 5662005255995392,"tags": ["Lead1","LikelyBuyer1"]} " -v -u [email protected]:4uet78u6atfn38m9dounnq9g4u -X PUT
In addition to this, i need to mention here is that you can also add tags to a contact based on email. For more details please go through the below link :
https://github.com/agilecrm/rest-api#112-adding-tags-to-a-contact-based-on-email
Please get in touch with me in case you need further information
from rest-api.
Related Issues (20)
- Getting an error while searching for a registered company
- Retrieve company's contacts on Agile CRM?
- Provide better documentation HOT 1
- Changing Company Owner
- Add "users" to the documentation
- Is there a method to retrieve all email records belongs to contact or company?
- Add forms to the documentation
- Creating a Deal With Products HOT 1
- Merging Companies HOT 1
- Reliably get all contacts HOT 3
- -updated_time in the global_sort_key throws exception
- dev/api/contacts/search/phonenumber/{phone-number} return company instead of contact
- Is there a parameter to add ordering?
- How to get list of contacts deleted?
- API does not return Web Stats
- Search for contact by email returns XML instead of JSON
- create a note for a ticket not working using REST API
- Dynamic filter null pointer exception
- Possible DNS/routing issue
- endpoint for listing fields for module
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-api.