{"id":22505609,"url":"https://github.com/infobip-community/infobip-api-csharp-sdk","last_synced_at":"2025-07-09T14:33:49.223Z","repository":{"id":42192061,"uuid":"458294346","full_name":"infobip-community/infobip-api-csharp-sdk","owner":"infobip-community","description":"C# SDK for Infobip's API","archived":false,"fork":false,"pushed_at":"2023-11-13T13:46:10.000Z","size":392,"stargazers_count":3,"open_issues_count":5,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-18T14:26:18.331Z","etag":null,"topics":["api-client","csharp","email","rcs","sdk","sms","webrtc","whatsapp"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infobip-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-11T18:15:35.000Z","updated_at":"2025-03-13T22:31:57.000Z","dependencies_parsed_at":"2023-01-30T04:01:06.106Z","dependency_job_id":"31783a26-bae4-4dee-b30b-76a313d55855","html_url":"https://github.com/infobip-community/infobip-api-csharp-sdk","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/infobip-community/infobip-api-csharp-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infobip-community%2Finfobip-api-csharp-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infobip-community%2Finfobip-api-csharp-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infobip-community%2Finfobip-api-csharp-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infobip-community%2Finfobip-api-csharp-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infobip-community","download_url":"https://codeload.github.com/infobip-community/infobip-api-csharp-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infobip-community%2Finfobip-api-csharp-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262807397,"owners_count":23367428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api-client","csharp","email","rcs","sdk","sms","webrtc","whatsapp"],"created_at":"2024-12-07T00:29:58.469Z","updated_at":"2025-07-09T14:33:49.205Z","avatar_url":"https://github.com/infobip-community.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infobip API C# SDK\n\nThis is a C# SDK for Infobip API and you can use it as a dependency to add [Infobip APIs][apidocs] features to your application. To use this, you'll need an Infobip account. If you do not own one, you can create a [free account here][signup].\n\n#### Table of contents:\n\n- [General Info](#general-info)\n- [License](#license)\n- [Installation](#installation)\n- [Usage Example](#usage-example)\n- [Documentation](#documentation)\n- [Development](#development)\n\n## General Info\n\nFor _Infobip API C# SDK_ versioning we use [Semantic Versioning][semver] scheme.\n\nThis library is targeting **.NET Standard 2.0**. When a library is built against a certain version of .NET Standard, it can run on any .NET implementation that implements that version of .NET Standard (or higher)\n\n## License\n\nPublished under [MIT License](license).\n\n## Installation\n\nTo start using the _Infobip API C# SDK_ library add it as dependency to your project.\nYou should install [Infobip API C# SDK](https://www.nuget.org/packages/Infobip.Api.SDK):\n\n    Install-Package Infobip.Api.SDK\n\nOr via the .NET Core command line interface:\n\n    dotnet add package Infobip.Api.SDK\n\nEither commands, from Package Manager Console or .NET Core CLI, will download and install Infobip API C# SDK and all required dependencies.\n\n## Usage Example\n\nCall example used to send WhatsApp text message\n\n```csharp\npublic async Task\u003cWhatsAppSingleMessageInfoResponse\u003e SendWhatsAppTextMessage()\n{\n    var configuration = new ApiClientConfiguration(\n        \"https://XYZ.api.infobip.com\",\n        \"YOUR_API_KEY_FROM_PORTAL\");\n\n    var client = new InfobipApiClient(configuration);\n\n    var request = new WhatsAppTextMessageRequest\n    {\n        From = \"FROM_NUMBER\",\n        To = \"TO_NUMBER\",\n        MessageId = \"MESSAGE_ID\",\n        Content = new WhatsAppTextContent(\"Message Text!\")\n    };\n    return await client.WhatsApp.SendWhatsAppTextMessage(request);\n}\n```\n\n## Exceptions\n\nThere are several exceptions defined and they can be thrown by _InfobipApiClient_ class, if some error occurs when calling an API endpoint:\n\n- _InfobipException_ - Occurs during api endpoint call execution in case of general error.\n- _InfobipRequestNotValidException_ - Occurs during api endpoint call execution when request model is not valid.\n- _InfobipBadRequestException_ - Occurs during api endpoint call execution when http response status code is _BadRequest_ (400).\n- _InfobipUnauthorizedException_ - Occurs during api endpoint call execution when http response status code is _Unauthorized_ (401).\n- _InfobipForbiddenException_ - Represents errors that occurs during api endpoint call execution in case when http response status code is _Forbidden_ (403).\n- _InfobipNotFoundException_ - Represents errors that occurs during api endpoint call execution in case when http response status code is _NotFound_ (404).\n- _InfobipTooManyRequestsException_ - Represents errors that occurs during api endpoint call execution in case when http response status code is _TooManyRequests_ (429).\n\n## Documentation\n\nInfobip API Documentation can be found [here][apidocs].\n\n## Development\n\nFeel free to participate in this open source project by following the standard _fork -\u003e clone -\u003e edit -\u003e pull request_ workflow!\n\nFor running _Tests_ you can use **Visual Studio** or your favorite **console**.\n\nTo run them from **console**, just change working directory to **src** directory, and run following command.\n\n```shell\n dotnet test\n```\n\n[apidocs]: https://www.infobip.com/docs/api\n[signup]: https://www.infobip.com/signup\n[semver]: https://semver.org\n[license]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfobip-community%2Finfobip-api-csharp-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfobip-community%2Finfobip-api-csharp-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfobip-community%2Finfobip-api-csharp-sdk/lists"}