Create client

Add a client to Projects & Clients.

POST https://cotlet.dev/api/v1/resource-guru/clients

write

Returns the new client with its ID. It reaches no one and you can archive or edit it in Resource Guru, so it does not wait for your OK. Needs Manager permission or higher in Resource Guru.

Parameters

Parameters: create_client
NameTypeDescription
name string required string Client name.
notes string string Details or links about the client.
color string string Hex color such as c0ffee.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/resource-guru/clients \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Jane Doe"}'
Python
result = client.call("resource-guru", "create_client", {"name":"Jane Doe"})
Node.js
const result = await cotlet.call('resource-guru', 'create_client', {"name":"Jane Doe"});
CLI
cotlet call resource-guru create_client --data '{"name":"Jane Doe"}'

Example response

JSON

{
  "id": 55121,
  "name": "Northwind Studio",
  "notes": "Signed 23 Oct",
  "archived": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.