cURL
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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the opportunity lead source.
Whether the opportunity lead source is active.
200
The unique identifier for the object.
The timestamp when the object was created.