Settings Lead Sources
Lists lead sources. Lead sources track where a lead, contact, or deal originated (e.g. referral, website, a specific marketing channel).
List of lead sources
Bad Request
Not Authorized
Unexpected error
GET /v2/settings/leadSources HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"totalRows": 1,
"rows": [
{
"id": "charity-event",
"name": "Charity Event"
}
]
}The name of the lead source.
Successfully created lead source
The unique ID of the lead source.
The name of the lead source.
Bad Request
Not Authorized
Conflict - Lead source already exists
Unexpected error
POST /v2/settings/leadSources HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"name": "Charity Event"
}{
"id": "charity-event",
"name": "Charity Event"
}Retrieves a single lead source by ID. Lead sources track where a lead, contact, or deal originated (e.g. referral, website, a specific marketing channel).
ID of the Lead Source
Details about the lead source
The unique ID of the lead source.
The name of the lead source.
Bad Request
Not Authorized
Not found
Unexpected error
GET /v2/settings/leadSources/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "charity-event",
"name": "Charity Event"
}ID of the Lead Source
The unique ID of the lead source.
The name of the lead source.
Successfully updated lead source
The unique ID of the lead source.
The name of the lead source.
Bad Request
Not Authorized
Not found
Unexpected error
PUT /v2/settings/leadSources/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"id": "charity-event",
"name": "Charity Event"
}{
"id": "charity-event",
"name": "Charity Event"
}ID of the Lead Source
Lead Source successfully deleted
No content
Bad Request
Not Authorized
Not found
Unexpected error
DELETE /v2/settings/leadSources/{id} HTTP/1.1
Host: openapi.paintscout.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?

