Skip to main content
POST
/
opportunity-lead-sources
Create an opportunity lead source
curl --request POST \
  --url https://www.ruddr.io/api/workspace/opportunity-lead-sources \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "isActive": true
}
'
{
  "id": "b4c72e91-38a5-4f6d-a103-d7e85f2c9b14",
  "name": "SEO",
  "isActive": true,
  "createdAt": "2025-05-13T17:26:59.068Z"
}
A classification for tracking how an opportunity was sourced.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the opportunity lead source.

isActive
boolean

Whether the opportunity lead source is active.

Response

200

id
string

The unique identifier for the object.

name
string

The name of the opportunity lead source.

isActive
boolean

Whether the opportunity lead source is active.

createdAt
string<date-time>

The timestamp when the object was created.