POST
/v1/tasksAdd Tasks
Add Leboncoin listing URLs to send automated messagesAdd Leboncoin listing URLs to send automated messages to sellers. Each task represents a listing that will receive your templated message.
Unlike search export scrapers, this tool takes direct listing URLs rather than search result pages. You can obtain listing URLs from the Leboncoin Listings Search Export scraper results.
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Request Body
squid
Type:
string
Required:
Yes
Description:
Hash of your squid configured with the Leboncoin Auto Message Sender crawler
tasks
Type:
array
Required:
Yes
Description:
Array of task objects, each containing a `url` field
Task Object
url
Type:
string
Required:
Yes
Description:
Direct Leboncoin listing URL (e.g., `https://www.leboncoin.fr/ad/locations/2943434204`)
Pro Tip
Use the Leboncoin Listings Search Export scraper to collect listing URLs, then pass them to this tool for messaging.
Warning
Ensure you have configured your message template in the squid settings before adding tasks.
Note
Messages are only sent to listings where the seller has messaging enabled.