Update Settings
Leboncoin Auto Message Sender
Update Settings
Configure Leboncoin Auto Message Sender settings and message template
POST
Update Settings
Configure your Leboncoin Auto Message Sender settings including the message template with dynamic variables that are replaced with listing-specific values.
Headers
Your API authentication token. Value:
Token YOUR_API_KEYRequest body format. Value:
application/jsonMessage Parameters
Configure the message content and targeting:| Parameter | Type | Default | Description |
|---|---|---|---|
| message | string | — | Template for the message sent to sellers. Supports dynamic variables (see below) |
| fetch_since | string | null | Stop scraping when items older than this threshold are reached (based on last_publication_date). Use a relative duration (24h, 7d, 2w) or an absolute date (YYYY-MM-DD HH:MM:SS) |
| fetch_since_timezone | string | null | Timezone for interpreting an absolute fetch_since date (e.g. Europe/Paris). Only applies when fetch_since is an absolute date — ignored for relative values like 24h or 7d. See supported timezones. |
| max_results | integer | null | Maximum number of listings to process before stopping |
| max_unique_results_per_run | integer | null | Maximum unique results across all tasks in a single run |
Message Template Variables
The message parameter supports dynamic variables that are replaced with listing-specific values:| Variable | Description |
|---|---|
| #title# | The listing title (e.g., “Appartement 3 pièces 88 m²”) |
| #pseudo# | The seller’s display name/pseudonym |
Squid Settings
Configure general squid settings:| Setting | Type | Description |
|---|---|---|
| name | string | Display name for your squid configuration |
| concurrency | integer | Number of parallel message sending threads (default: 1) |
| export_unique_results | boolean | Export only unique results (deduplicated) |
| to_complete | boolean | Run until all tasks complete |
| no_line_breaks | boolean | Remove line breaks from results |
The same message will not be sent twice to the same listing (duplicate detection via message_hash).
Code Examples
Response
201