POST/v1/tasks

Add Tasks

Add Leboncoin listing URLs to send automated messages

Add 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

KeyValueRequired
AuthorizationToken YOUR_API_KEYYes
Content-Typeapplication/jsonYes

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

Pro Tip

Use the Leboncoin Listings Search Export scraper to collect listing URLs, then pass them to this tool for messaging.
Warning

Warning

Ensure you have configured your message template in the squid settings before adding tasks.
Note

Note

Messages are only sent to listings where the seller has messaging enabled.