Smart Prospect
Departments API
List departments for the authenticated user - GET /departments
GET
This endpoint requires authentication via API key passed as a query parameter (
api_key).Query Parameters
Your SmartLead API key for authentication
Number of departments to return (1–100). Pattern: ^[1-9][0-9]*$ or 100. Default: “10”.
Number of departments to skip for pagination (≥ 0). Pattern: ^[0-9]+$. Default: “0”.
Search string to match department names starting with this value (1–255 characters).
Response Codes
Request successful
Unauthorized
Internal Server Error
