All URIs are relative to https://rest.clicksend.com/v3
Method | HTTP request | Description |
---|---|---|
AccountGet | GET /account | Get account information |
AccountPost | POST /account | Create a new account |
AccountUseageBySubaccountGet | GET /account/usage/{year}/{month}/subaccount | Get account useage by subaccount |
AccountVerifySendPut | PUT /account-verify/send | Send account activation token |
AccountVerifyVerifyByActivationTokenPut | PUT /account-verify/verify/{activation_token} | Verify new account |
ForgotPasswordPut | PUT /forgot-password | Forgot password |
ForgotPasswordVerifyPut | PUT /forgot-password/verify | Verify forgot password |
ForgotUsernamePut | PUT /forgot-username | Forgot username |
string AccountGet ()
Get account information
Get account details
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class AccountGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AccountApi();
try
{
// Get account information
string result = apiInstance.AccountGet();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.AccountGet: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string AccountPost (Account body)
Create a new account
Create An Account
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class AccountPostExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AccountApi();
var body = new Account(); // Account | Account model
try
{
// Create a new account
string result = apiInstance.AccountPost(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.AccountPost: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | Account | Account model |
string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string AccountUseageBySubaccountGet (int? year, int? month)
Get account useage by subaccount
Get account useage by subaccount
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class AccountUseageBySubaccountGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AccountApi();
var year = 56; // int? | Year to filter by (yyyy)
var month = 56; // int? | Month to filter by (mm)
try
{
// Get account useage by subaccount
string result = apiInstance.AccountUseageBySubaccountGet(year, month);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.AccountUseageBySubaccountGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
year | int? | Year to filter by (yyyy) | |
month | int? | Month to filter by (mm) |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string AccountVerifySendPut (AccountVerify body)
Send account activation token
Send account activation token
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class AccountVerifySendPutExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AccountApi();
var body = new AccountVerify(); // AccountVerify | Account details
try
{
// Send account activation token
string result = apiInstance.AccountVerifySendPut(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.AccountVerifySendPut: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | AccountVerify | Account details |
string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string AccountVerifyVerifyByActivationTokenPut (int? activationToken)
Verify new account
Verify new account
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class AccountVerifyVerifyByActivationTokenPutExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AccountApi();
var activationToken = 56; // int? |
try
{
// Verify new account
string result = apiInstance.AccountVerifyVerifyByActivationTokenPut(activationToken);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.AccountVerifyVerifyByActivationTokenPut: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
activationToken | int? |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string ForgotPasswordPut (ForgotPassword body = null)
Forgot password
Forgot password
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class ForgotPasswordPutExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AccountApi();
var body = new ForgotPassword(); // ForgotPassword | (optional)
try
{
// Forgot password
string result = apiInstance.ForgotPasswordPut(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.ForgotPasswordPut: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | ForgotPassword | [optional] |
string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string ForgotPasswordVerifyPut (AccountForgotPasswordVerify body)
Verify forgot password
Verify forgot password
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class ForgotPasswordVerifyPutExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new AccountApi();
var body = new AccountForgotPasswordVerify(); // AccountForgotPasswordVerify | verifyPassword data
try
{
// Verify forgot password
string result = apiInstance.ForgotPasswordVerifyPut(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.ForgotPasswordVerifyPut: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | AccountForgotPasswordVerify | verifyPassword data |
string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string ForgotUsernamePut (ForgotUsername body = null)
Forgot username
Forgot username
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class ForgotUsernamePutExample
{
public void main()
{
var apiInstance = new AccountApi();
var body = new ForgotUsername(); // ForgotUsername | (optional)
try
{
// Forgot username
string result = apiInstance.ForgotUsernamePut(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AccountApi.ForgotUsernamePut: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | ForgotUsername | [optional] |
string
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]