Create Lead API
This endpoint is used to create a new lead in your Squadstack Campaign
Endpoint:
POST <https://api.squadstack.com/voice/crm-integration-v2/{ref_id}/lead-created>
Note: Every endpoint is attached to a single campaign. Reach out to your SquadStack Point of Contact (POC) to get the reference ID for your campaign-specific endpoint.
Rate Limits
100 requests per minute
Request Body
- lead_id (string, mandatory, max_length of 255 characters): The unique identifier for the lead. This ID will be used to track the lead throughout the campaign
- phone_number (string, mandatory,max_length of 12 characters): The phone number associated with the lead.
- contact_name (string, mandatory, max_length of 48 characters): The name of the contact person for the lead.
- custom_field1 (string/integer, optional): A custom field for additional information. This field can be renamed based on the context of the data you are sending.
- custom_field2 (string/integer, optional): Another custom field for additional information. This field can also be renamed based on the context of the data you are sending.
Additional custom fields can be added as required by your campaign.
Headers
- Authorization: Bearer your_token
- Fetch you token from here
- Content-Type: application/json