{"id":37151322,"url":"https://github.com/hellofresh/zendesk-go","last_synced_at":"2026-01-14T17:52:33.943Z","repository":{"id":57490145,"uuid":"54396270","full_name":"hellofresh/zendesk-go","owner":"hellofresh","description":"Zendesk API build in Go","archived":true,"fork":false,"pushed_at":"2022-04-04T23:38:00.000Z","size":29,"stargazers_count":11,"open_issues_count":5,"forks_count":8,"subscribers_count":232,"default_branch":"master","last_synced_at":"2025-12-01T06:49:58.000Z","etag":null,"topics":["wiz-platform-engineering-experience"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellofresh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-21T14:36:31.000Z","updated_at":"2025-09-06T15:37:39.000Z","dependencies_parsed_at":"2022-09-02T12:01:25.053Z","dependency_job_id":null,"html_url":"https://github.com/hellofresh/zendesk-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hellofresh/zendesk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellofresh%2Fzendesk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellofresh%2Fzendesk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellofresh%2Fzendesk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellofresh%2Fzendesk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellofresh","download_url":"https://codeload.github.com/hellofresh/zendesk-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellofresh%2Fzendesk-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28428963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["wiz-platform-engineering-experience"],"created_at":"2026-01-14T17:52:33.160Z","updated_at":"2026-01-14T17:52:33.927Z","avatar_url":"https://github.com/hellofresh.png","language":"Go","readme":"# Zendesk API\n\nThis API is ready to send request for `Users` and `Tickets`\n\nHow to use?\n\n## Configuration\n\nUpdate the configuration.yml file inside config folder:\n\n```\ndomain: DOMAIN\nemail: EMAIL\npassword: PASSWORD\ntoken: TOKEN\n```\n\nThe service uses API token to communicate with Zendesk.\n\n## Connecting with Zendesk API\n```\nimport \"github.com/hellofresh/zendesk-go\"\n\nfunc main() {\n    client, _ := zendesk.FromEnv(\n        zendesk.LoadConfiguration(\"./config/configuration.yml\"),\n    )\n}\n```\n\n## Basic\n```\nuser := zendesk.User {\n    Id: [id],\n    Name: [name],\n    Email: [email],\n}\n\nclient, _ := zendesk.FromEnv(\n    zendesk.LoadConfiguration(\"./config/configuration.yml\"),\n)\n\nu, err := client.ZendeskApi().CreateOrUpdateUser(user)\n\nif err != nil {\n    log.Println(err)\n} else {\n    log.Println(u)\n}\n```\n\n## User functions available\n\n#### GetUser\nReturn the user\n\n```\nclient.ZendeskApi().GetUser(1)\n```\n\n#### GetUsers\nReturn the list of all users\n\n```\nclient.ZendeskApi().GetZendeskApi()\n```\n\n#### GetUsersByGroup\nReturn the list of all users in a group\n\n```\nclient.ZendeskApi().GetUsersByGroup(4)\n```\n\n#### CreateOrUpdateUser\nCreate or update a user\n\n```\nclient.ZendeskApi().CreateOrUpdateUser(user)\n```\n\n#### CreateUser\nCreate a new user\n\n```\nclient.ZendeskApi().CreateUser(user)\n```\n\n#### UpdateUser\nUpdate an existing user\n\n```\nclient.ZendeskApi().UpdateUser(user)\n```\n\n#### DeleteUser\nDelete an existing user\n\n```\nclient.ZendeskApi().DeleteUser(1)\n```\n\n## Ticket function available\n\n#### GetTicket\nReturn the ticket\n\n```\nclient.ZendeskApi().GetTicket(1)\n```\n\n#### GetTickets\nReturn the list of all tickets\n\n```\nclient.ZendeskApi().GetTickets()\n```\n\n#### GetRecentTickets\nReturn the recent tickets\n\n```\nclient.ZendeskApi().GetRecentTickets()\n```\n\n#### GetTicketsFromOrganization\nReturn the tickets from an organization\n\n```\nclient.ZendeskApi().GetTicketsFromOrganization(10)\n```\n\n#### GetManyTickets\nReturn a list of tickets\n\n```\nclient.ZendeskApi().GetManyTickets(int[]{1, 2, 3, 5})\n```\n\n#### GetRequestedTicketsFromUser\nReturn the tickets requests by an user\n\n```\nclient.ZendeskApi().GetRequestedTicketsFromUser(2)\n```\n\n#### GetCcdTicketsFromUser\n```\nclient.ZendeskApi().GetCcdTicketsFromUser(2)\n```\n\n#### GetAssignedTicketsFromUser\nReturn the tickets assigned from user\n\n```\nclient.ZendeskApi().GetAssignedTicketsFromUser(2)\n```\n\n#### CreateTicket\nCreate a new ticket\n\n```\nclient.ZendeskApi().CreateTicket(ticket)\n```\n\n#### UpdateTicket\nUpdate a ticket\n\n```\nclient.ZendeskApi().UpdateTicket(ticket)\n```\n\n#### UpdateTicketMarkAsSpam\nUpdate a ticket to mark as spam\n\n```\nclient.ZendeskApi().UpdateTicketMarkAsSpam(1)\n```\n\n#### DeleteTicket\nDelete an existing ticket\n\n```\nclient.ZendeskApi().DeleteTicket(1)\n```\n\nLicense\n-------\n\n    Copyright (C) 2016 HelloFresh SE\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellofresh%2Fzendesk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellofresh%2Fzendesk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellofresh%2Fzendesk-go/lists"}