customization

Custom Stages Create

POST
Creates a custom stage.

Request

This endpoint expects an object.
name
stringRequired
The name of the custom stage.
ordinal
integerRequired
The ordinal of the custom stage used for ordering.
state
stringRequired
The state ID.
marketplace_ref
stringOptional
A reference to the marketplace item from which this stage was imported.

Response

This endpoint returns an object
custom_stage
object
POST
1curl -X POST https://api.devrev.ai/stages.custom.create \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "name": "name",
6 "ordinal": 1,
7 "state": "state"
8}'
200Successful
1{
2 "custom_stage": {
3 "id": "id",
4 "created_date": "2023-01-01T12:00:00Z",
5 "display_id": "display_id",
6 "modified_date": "2023-01-01T12:00:00Z"
7 }
8}