Skip to main content
POST
/
v1
/
objects
/
{identifier}
/
attributes
/
{attribute}
/
stages
Create an attribute stage
curl --request POST \
  --url https://api.connect-crm.com/v1/objects/{identifier}/attributes/{attribute}/stages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "sort_order": 1,
  "config": {
    "is_closed": true,
    "is_won": true,
    "is_lost": true
  }
}
'
{
  "data": {
    "archived_at": "2024-09-04T20:45:09Z",
    "id": {
      "stage_id": "9293961c-df93-4d6d-a2cc-fc3e353b2d10",
      "attribute_id": "9293961c-df93-4d6d-a2cc-fc3e353b2d10",
      "object_id": "9293961c-df93-4d6d-a2cc-fc3e353b2d10",
      "workspace_id": "9293961c-df93-4d6d-a2cc-fc3e353b2d10"
    },
    "sort_order": 1,
    "title": "Stage 1",
    "config": {
      "is_closed": true,
      "is_won": true,
      "is_lost": true
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

identifier
string
required

A UUID or slug to identify the object.

attribute
string
required

A UUID or slug to identify the attribute.

Body

application/json
title
string
required

The name of the attribute stage.

sort_order
number
required

The sort order of the attribute stage.

Example:

1

config
object

Configuration for the attribute stage.

Response

Success

data
object
required