Create account
documentedCreate a new account.
POST /rest/accountsAccountsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://app.nutshell.com/rest/accounts" \
-X POST \
-u "{{$NUTSHELL_USERNAME}}:{{NUTSHELL_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "owner": {"entityType": "Users", "id": {{$owner_id}}}, "industryId": "{{$industry_id}}", "accountTypeId": "{{$account_type_id}}", "territoryId": "{{$territory_id}}", "url": ["{{$website}}"], "phone": ["{{$phone}}"], "customFields": {"Number of Employees": "{{$employees}}"}}'