API reference
Pipeline columns
Pipeline columns are the stages of your Conversations board, like Interested or Call booked. Each conversation sits in one column. Requests, Inbox, Contacted, Replied and persona columns belong to the board, the others are yours. A board holds 50 columns at most.
The pipeline column object
A column of the Conversations board, like Interested or Call booked. Each conversation sits in one column.
Attributes
- idstringUnique identifier for the column.
- objectstringAlways
pipeline_column. - namestringThe column's name.
- kindstring
requests,inbox,contactedandrepliedare the board's own columns,personafollows a persona,customis one of yours.requestsinboxcontactedrepliedpersonacustom - persona_idstring or nullThe persona of a
personacolumn. - positionintegerIts place on the board, from 0 on the left.
- collapsedbooleanWhether it is folded on the board.
- deletablebooleanWhether you can delete it. Only
customcolumns can go.
{
"id": "q7m2xk4p",
"object": "pipeline_column",
"name": "Interested",
"kind": "custom",
"persona_id": null,
"position": 2,
"collapsed": false,
"deletable": true
}List pipeline columns
Returns the board's columns, from left to right.
Returns
A list of pipeline column objects.
curl https://gemlead.ai/api/v1/pipeline_columns \
-H "Authorization: Bearer $GEMLEAD_API_KEY"{
"object": "list",
"data": [
{
"id": "r1n8vd2c",
"object": "pipeline_column",
"name": "Requests",
"kind": "requests",
"persona_id": null,
"position": 0,
"collapsed": true,
"deletable": false
},
{
"id": "h5t0bw9e",
"object": "pipeline_column",
"name": "Inbox",
"kind": "inbox",
"persona_id": null,
"position": 1,
"collapsed": false,
"deletable": false
},
{
"id": "q7m2xk4p",
"object": "pipeline_column",
"name": "Interested",
"kind": "custom",
"persona_id": null,
"position": 2,
"collapsed": false,
"deletable": true
},
{
"id": "z3c6lf8a",
"object": "pipeline_column",
"name": "Call booked",
"kind": "custom",
"persona_id": null,
"position": 3,
"collapsed": false,
"deletable": true
}
],
"has_more": false,
"next_cursor": null
}Create a pipeline column
Adds a column to the board.
Body parameters
- namestringRequiredThe column's name, up to 60 characters.
- positionintegerWhere it goes, 0 for first. Default last.
Returns
The board's columns, a list of pipeline column objects.
Errors
- A required parameter is missing.
paramnames it. - A parameter has a value the API does not accept.
paramnames it. - The board has 50 columns already.
curl -X POST https://gemlead.ai/api/v1/pipeline_columns \
-H "Authorization: Bearer $GEMLEAD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Call booked",
"position": 3
}'{
"object": "list",
"data": [
{
"id": "r1n8vd2c",
"object": "pipeline_column",
"name": "Requests",
"kind": "requests",
"persona_id": null,
"position": 0,
"collapsed": true,
"deletable": false
},
{
"id": "h5t0bw9e",
"object": "pipeline_column",
"name": "Inbox",
"kind": "inbox",
"persona_id": null,
"position": 1,
"collapsed": false,
"deletable": false
},
{
"id": "q7m2xk4p",
"object": "pipeline_column",
"name": "Interested",
"kind": "custom",
"persona_id": null,
"position": 2,
"collapsed": false,
"deletable": true
},
{
"id": "z3c6lf8a",
"object": "pipeline_column",
"name": "Call booked",
"kind": "custom",
"persona_id": null,
"position": 3,
"collapsed": false,
"deletable": true
}
],
"has_more": false,
"next_cursor": null
}Update a pipeline column
Renames a column, or folds it on the board.
Path parameters
- column_idstringRequiredThe column's ID.
Body parameters
- namestringThe column's name, up to 60 characters.
- collapsedbooleanFold the column on the board.
Returns
The board's columns, a list of pipeline column objects.
Errors
- No column with this ID on the key's account.
- A parameter has a value the API does not accept.
paramnames it. - The body has a field this endpoint does not take.
curl -X PATCH \
https://gemlead.ai/api/v1/pipeline_columns/z3c6lf8a \
-H "Authorization: Bearer $GEMLEAD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Demo booked"
}'{
"object": "list",
"data": [
{
"id": "r1n8vd2c",
"object": "pipeline_column",
"name": "Requests",
"kind": "requests",
"persona_id": null,
"position": 0,
"collapsed": true,
"deletable": false
},
{
"id": "h5t0bw9e",
"object": "pipeline_column",
"name": "Inbox",
"kind": "inbox",
"persona_id": null,
"position": 1,
"collapsed": false,
"deletable": false
},
{
"id": "q7m2xk4p",
"object": "pipeline_column",
"name": "Interested",
"kind": "custom",
"persona_id": null,
"position": 2,
"collapsed": false,
"deletable": true
},
{
"id": "z3c6lf8a",
"object": "pipeline_column",
"name": "Demo booked",
"kind": "custom",
"persona_id": null,
"position": 3,
"collapsed": false,
"deletable": true
}
],
"has_more": false,
"next_cursor": null
}Delete a pipeline column
Deletes one of your own columns. Its conversations go back to the Inbox column.
Path parameters
- column_idstringRequiredThe column's ID.
Returns
An object with the column's id and deleted set to true.
Errors
- No column with this ID on the key's account.
- The column belongs to the board, like Inbox or a persona column.
curl -X DELETE \
https://gemlead.ai/api/v1/pipeline_columns/z3c6lf8a \
-H "Authorization: Bearer $GEMLEAD_API_KEY"{
"id": "z3c6lf8a",
"object": "pipeline_column",
"deleted": true
}Reorder pipeline columns
Puts the board's columns in a new order. Send every column once.
Body parameters
- column_idsarray of stringsRequiredEvery column ID of the board, from left to right.
Returns
The board's columns in the new order, a list of pipeline column objects.
Errors
- A required parameter is missing.
paramnames it. - A parameter has a value the API does not accept.
paramnames it. - An ID is not one of the board's columns.
curl -X POST \
https://gemlead.ai/api/v1/pipeline_columns/reorder \
-H "Authorization: Bearer $GEMLEAD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"column_ids": ["r1n8vd2c", "h5t0bw9e", "z3c6lf8a", "q7m2xk4p"]
}'{
"object": "list",
"data": [
{
"id": "r1n8vd2c",
"object": "pipeline_column",
"name": "Requests",
"kind": "requests",
"persona_id": null,
"position": 0,
"collapsed": true,
"deletable": false
},
{
"id": "h5t0bw9e",
"object": "pipeline_column",
"name": "Inbox",
"kind": "inbox",
"persona_id": null,
"position": 1,
"collapsed": false,
"deletable": false
},
{
"id": "z3c6lf8a",
"object": "pipeline_column",
"name": "Call booked",
"kind": "custom",
"persona_id": null,
"position": 2,
"collapsed": false,
"deletable": true
},
{
"id": "q7m2xk4p",
"object": "pipeline_column",
"name": "Interested",
"kind": "custom",
"persona_id": null,
"position": 3,
"collapsed": false,
"deletable": true
}
],
"has_more": false,
"next_cursor": null
}