Skip to content
gist.link ↗

createPipeline

Mutation CRM API — POST https://crm.api.gist.link/graphql

The createPipeline mutation on the CRM API.

crm:mutation:createPipeline

The calling IAM key must hold this permission (or a wildcard that covers it: crm:mutation:* or crm:*) and the access token must have been minted with audience=crm. See Permissions.

type Mutation {
createPipeline(name: String!): Pipeline!
}
Argument Type Required Description
name String! Yes —

Pipeline! — see the CRM types reference.

Terminal window
curl https://crm.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation CreatePipeline($name: String!) { createPipeline(name: $name) { uuid name isDefault createdAt updatedAt } }",
"variables": {
"name": "Example"
}
}
JSON