Adds a lead source to an account.
The unique ID of the account.
A valid API key with a scope of AccountLists
The label of the lead source. Must not be empty and must be 32 characters or fewer.
Indicates if the lead source is active or inactive. Defaults to true if omitted.
"leadSource": "Referral",
leadSource is required, cannot be empty, and cannot exceed 32 characters. If active is omitted, the lead source is created as active.
Lead source labels must be unique per account. Attempting to create a lead source with a label that already exists for the account will fail with a 409 conflict.
Location — the URL of the newly created lead source.
The lead source was created.
The lead source was not created. This occurs if leadSource is missing, empty, or longer than 32 characters.
The API key is missing, invalid, disabled, or does not have the correct scope.
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key does not have the required scope.
A lead source with that label already exists for this account.
The unique ID of the lead source.
The label of the lead source.
Indicates if the lead source is active or inactive.