You will find here GetSales.io Public API documentation
You will find here GetSales.io Public API documentation
curl -i -X GET \
'https://amazing.getsales.io/flows/api/flows?flow_version_uuid=string&flow_workspace_uuid=string&is_public=string&limit=20&offset=0&order_field=created_at&order_type=asc&q=string&status=string&user_id=string&uuid=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "data": [ { … } ], "limit": 20, "offset": 0, "total": 199, "has_more": true }
curl -i -X PUT \
'https://amazing.getsales.io/flows/api/flows/{flowUuid}/start' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "uuid": "uuid-uuid-uuid-uuid-example", "public_uuid": "uuid-uuid-uuid-uuid-example", "team_id": 1, "name": "CMO Germany", "flow_workspace_uuid": "uuid-uuid-uuid-uuid-example", "flow_version_uuid": "uuid-uuid-uuid-uuid-example", "schedule": { "timezone": "Asia/Omsk", "use_lead_timezone": false, "timeblocks": [ … ] }, "description": "This is a flow description", "priority": 10, "status": "on", "is_public": true, "user_id": 1, "created_at": "2024-12-11T12:34:56Z", "updated_at": "2024-12-11T12:34:56Z" }
curl -i -X PUT \
'https://amazing.getsales.io/flows/api/flows/{flowUuid}/stop' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "uuid": "uuid-uuid-uuid-uuid-example", "public_uuid": "uuid-uuid-uuid-uuid-example", "team_id": 1, "name": "CMO Germany", "flow_workspace_uuid": "uuid-uuid-uuid-uuid-example", "flow_version_uuid": "uuid-uuid-uuid-uuid-example", "schedule": { "timezone": "Asia/Omsk", "use_lead_timezone": false, "timeblocks": [ … ] }, "description": "This is a flow description", "priority": 10, "status": "on", "is_public": true, "user_id": 1, "created_at": "2024-12-11T12:34:56Z", "updated_at": "2024-12-11T12:34:56Z" }
curl -i -X POST \
'https://amazing.getsales.io/flows/api/flows/{flowUuid}/leads/{leadUuid}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
The contact data to be created and attached to the automation.
The contact's LinkedIn ID or profile handle.
The name of the company the contact is associated with.
A contactable email address for the contact.
The UUID of the list in which the lead is to be created.
The ID of a specific automation segment. Defaults to 1 if not provided.
curl -i -X POST \
'https://amazing.getsales.io/flows/api/flows/{flowUuid}/add-new-lead' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"lead": {
"linkedin_id": "john-doe-123456 or ACoAAAB6GuQBOXo75numqJfM9u08uHgjOSo4p9U",
"first_name": "John",
"last_name": "Doe",
"company_name": "ExampleCorp",
"ln_id": "ACoAAAB6GuQBOXo75numqJfM9u08uHgjOSo4p9U",
"sn_id": "ACwAAAB6GuQBEz2TMHbG4sa7Nw5wSi7cJXMQkPI",
"linkedin": "christina-sletner-b4481a2",
"email": "john.doe@example.com",
"about": "john.doe@example.com",
"domain": "somecoolcompany.com",
"headline": "Sales & Partner Manager I ERP-/Dynamics 365 Finance/OnSite 365 at Advania Norge",
"position": "Sales & Partner Manager",
"raw_address": "Oslo, Oslo, Norway",
"custom_fields": {
"Gender": "Male",
"Connection_Message": "Hi John, I loved your recent insights on automating LinkedIn voices. I’d appreciate connecting to learn more about your approach and share ideas!",
"First_Message": "Thanks for connection John, I was curious ..."
}
},
"list_uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"flow_segment_id": 1,
"skip_if_lead_exists": true
}'
No content
curl -i -X PUT \
'https://amazing.getsales.io/flows/api/flows/leads/{leadUuid}/cancel' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"flow_uuids": []
}'