infobip / infobip-api-csharp-client

Infobip API client library in C#, distributed as a NuGet package.
https://www.infobip.com/docs/api
MIT License
11 stars 17 forks source link

Infobip Account Management API #16

Open karol-gro opened 2 years ago

karol-gro commented 2 years ago

It would be great to include Account management API (https://www.infobip.com/docs/api/platform-connectivity/account-management) as well. Unfortunatelly, I don't know where to get OpenAPI definition from

juliacodez commented 2 years ago

Hey @karol-gro, thanks for the feedback! We'll pass it on to the team and keep it in mind when planning for the future :)

In the meantime, here's our OpenAPI document:
https://dev.infobip.com/openapi-specifications

ib-fsrnec commented 1 year ago

Hi @karol-gro, thank you for your patience.

Could you please describe the use case which you are interested in, so we can add the full support in one of our next releases? In our next major release we don't plan to include Account Management part of the API, but it's definitely going to be on our roadmap for the future releases.

As @juliacodez said in the previous comment, here is our OpenAPI document so feel free to use the definition stated there: https://dev.infobip.com/openapi-specifications.

Thank you for using our library! Best, Filip

karol-gro commented 1 year ago

Hi, We are developing a multi-tenant solution for our customers in which we keep separate infobip account for each customer to track their costs. There are 3 use cases for which we were looking into Account Management API:

  1. We wanted to create automatically an infobip account for each customer. Unfortunately, we didn't manage to properly create an account even with Postman, so we abandon this flow. I don't recall what was as issue, I think we had to verify an e-mail for each account or something like that. I can ask the team to know what exactly was an issue
  2. We don't want to manually generate, set up and store API keys for each account. So we decided to store an API key to main account and automatically generate and retrieve account-level API keys. To achieve it, we implemented our own clients, which we could add to this repository, but I guess you'd prefer to generate it with OpenAPI
  3. We plan to automatically retrieve cost data for each account for financials to invoice customers. We currently use reports from dashboard, which is ok for now, but we wanted to store this data longer, analyze it and give easier access etc., so eventually we'll probably use API to retrieve it and process
mateanticevic commented 1 year ago

Thanks for sharing your use-cases @karol-gro. Regarding the point number 2, yes it will be easier for use just to generate it from the OpenAPI spec. Generally, I don't see a reason why we shouldn't include this part of the api in our library. We can announce the approximate release date here when we'll have it.