# Step 1: Get JWT token using your issued credentials
curl -X POST "https://app.targeter.tech/api/auth/token" \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_ISSUED_PARTNER_KEY",
"api_secret": "YOUR_ISSUED_PARTNER_SECRET"
}'
# Step 2: Use token in API calls on behalf of your clients
curl -X POST "https://app.targeter.tech/api/campaign" \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"source": {
"material": ["https://example.com/image.jpg"],
"name": "Example Campaign",
"reference_id": "REF-001",
"target_url": "https://example.com/listing/001"
}
}'