cURL
curl --request POST \ --url https://www.ruddr.io/api/workspace/opportunity-types \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "isActive": true } '
{ "id": "a4e8c3f1-6b72-4d95-b0e7-2f1d8a5c9047", "name": "New Business", "description": "Opportunities with first-time customers.", "isActive": true, "createdAt": "2025-03-10T14:22:45.183Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the opportunity type. Max 255 characters.
The description of the opportunity type. Max 5000 characters.
Whether the opportunity type is active. Defaults to true if not provided.
true
200
The unique identifier for the object.
The name of the opportunity type.
The description of the opportunity type.
Whether the opportunity type is active.
The timestamp when the object was created.