Targeting & Calculation
This request allows you to calculate targeting and its cost.
URL
POST
https://api.smspartner.fr/v1/location/optin
Parameters
apiKey
op
Operation to perform:
calcul
: Calculate the cost and number of contacts matching the targetingprice
: Calculate the cost of targeting onlyrent
: Rent a contact database
parameters
sexe
:
Gender of targeted contacts, must be:
– m
(mixed)
– or h
(male)
– or f
(female)
minAge
:
Minimum age of the target, must be greater than 18.
maxAge
:
Maximum age of the target, must be less than 99.
interest
:
subInterest
(optional) :
category
(optional) :
Socio-professional category:
– 102
: CSP+
– 103
: CSP-
department
(optional) :
List of targeted departments. e.g.: 02,60, etc…
zipcode
(optional) :
List of targeted zip codes. e.g.: 02200,60200, etc…
volumes
This parameter is only available if op = rent or price.
Allows you to choose a desired volume per postal code or department
Requests
Response
Errors
Error Codes
1
API key is required
10
Invalid API key
200
Operation completed
Last updated