Retrieve all projects
GEThttps://api.botsubscription.com/v1/bot:bot_id/:api_key/projects
Retrieve a list of all projects created in the bot.
Request
Responses
- 200
- 401
- 404
The list of projects has been successfully retrieved.
[The projects add-on](https://docs.botsubscription.com/advanced/projects) is not installed in the bot.
No projects have been created in the bot.
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.botsubscription.com");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear