Is it possible to integrate a CRM via API to automatically block the tracker?

Flavio GP4 22 days ago

I would like to integrate another system that has access to Traccar, and under certain conditions, automatically lock and unlock the vehicle.

Is there an API for this?

What would be the lock and unlock command via API?

Anton Tananaev 22 days ago

Yes, there is an API. Have you checked the documentation?

Flavio GP4 22 days ago

Yes, but I'm not a developer. I'd like to know specifically which part shows the block so I can find a developer who can implement this function.

Anton Tananaev 22 days ago

Specifically what you need is the commands endpoint.

Flavio GP4 22 days ago

Right here? https://www.traccar.org/api-reference/#tag/Commands

But which one is for locking and which one is for unlocking?

Anton Tananaev 22 days ago

All commands are using the same API. Just the type is different.

https://www.traccar.org/api-reference/#tag/Commands/paths/~1commands~1send/post

Flavio GP4 22 days ago

Thank you, I'll try to find a developer.

Your answer was very helpful.

Track-trace 22 days ago

Why don't you send an email to support on this website. Anton can surely create things for you as a developer.

Flavio GP4 21 days ago

I believe that would be too complex and would be outside the scope of Traccar, so I need to integrate an external system with it.

Anton Tananaev 21 days ago

We can help with any kind of professional services.

Flavio GP4 21 days ago

Anton, i need a system for renting vehicles for Uber. Drivers will rent my car on a weekly or monthly basis.

Payment unlocks the week. At the end of the week, if payment is not made, the vehicle will be blocked, and payment automatically unlocks it.

I will be working in Brazil, and the system needs to be integrated with Brazilian banks.

Anton Tananaev 21 days ago

Email support to discuss.

Flavio GP4 21 days ago

what email please

Anton Tananaev 21 days ago

Click support and you'll find it.