All URIs are relative to https://api.unifapi.com
| Method | HTTP request | Description |
|---|---|---|
| ThreadsSearchProfilesGet | GET /threads/search/profiles | Search Threads users by keyword |
| ThreadsSearchRecentGet | GET /threads/search/recent | Search recent Threads posts |
| ThreadsSearchTopGet | GET /threads/search/top | Search top Threads posts |
| ThreadsUsersUsernameGet | GET /threads/users/{username} | Get a Threads user profile by username |
| ThreadsUsersUsernamePostsGet | GET /threads/users/{username}/posts | List Threads posts authored by a user |
| ThreadsUsersUsernameRepliesGet | GET /threads/users/{username}/replies | List Threads replies authored by a user |
| ThreadsUsersUsernameRepostsGet | GET /threads/users/{username}/reposts | List Threads reposts by a user |
ThreadsSearchProfilesGet200Response ThreadsSearchProfilesGet (string q)
Search Threads users by keyword
using System.Collections.Generic;
using System.Diagnostics;
using Unifapi.Sdk.Api;
using Unifapi.Sdk.Client;
using Unifapi.Sdk.Model;
namespace Example
{
public class ThreadsSearchProfilesGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.unifapi.com";
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ThreadsApi(config);
var q = "q_example"; // string | Search keyword.
try
{
// Search Threads users by keyword
ThreadsSearchProfilesGet200Response result = apiInstance.ThreadsSearchProfilesGet(q);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsSearchProfilesGet: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Search Threads users by keyword
ApiResponse<ThreadsSearchProfilesGet200Response> response = apiInstance.ThreadsSearchProfilesGetWithHttpInfo(q);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsSearchProfilesGetWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| q | string | Search keyword. |
ThreadsSearchProfilesGet200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Validation or invalid-id error | - |
| 401 | Missing, invalid, disabled, revoked, or expired UnifAPI API key | - |
| 402 | Insufficient workspace credits | - |
| 404 | Resource not found | - |
| 429 | Rate limited | - |
| 500 | Internal error | - |
| 502 | Source error | - |
| 503 | Source unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ThreadsSearchRecentGet200Response ThreadsSearchRecentGet (string q, string? cursor = null)
Search recent Threads posts
using System.Collections.Generic;
using System.Diagnostics;
using Unifapi.Sdk.Api;
using Unifapi.Sdk.Client;
using Unifapi.Sdk.Model;
namespace Example
{
public class ThreadsSearchRecentGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.unifapi.com";
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ThreadsApi(config);
var q = "q_example"; // string | Search keyword.
var cursor = "cursor_example"; // string? | (optional)
try
{
// Search recent Threads posts
ThreadsSearchRecentGet200Response result = apiInstance.ThreadsSearchRecentGet(q, cursor);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsSearchRecentGet: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Search recent Threads posts
ApiResponse<ThreadsSearchRecentGet200Response> response = apiInstance.ThreadsSearchRecentGetWithHttpInfo(q, cursor);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsSearchRecentGetWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| q | string | Search keyword. | |
| cursor | string? | [optional] |
ThreadsSearchRecentGet200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Validation or invalid-id error | - |
| 401 | Missing, invalid, disabled, revoked, or expired UnifAPI API key | - |
| 402 | Insufficient workspace credits | - |
| 404 | Resource not found | - |
| 429 | Rate limited | - |
| 500 | Internal error | - |
| 502 | Source error | - |
| 503 | Source unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ThreadsSearchRecentGet200Response ThreadsSearchTopGet (string q, string? cursor = null)
Search top Threads posts
using System.Collections.Generic;
using System.Diagnostics;
using Unifapi.Sdk.Api;
using Unifapi.Sdk.Client;
using Unifapi.Sdk.Model;
namespace Example
{
public class ThreadsSearchTopGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.unifapi.com";
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ThreadsApi(config);
var q = "q_example"; // string | Search keyword.
var cursor = "cursor_example"; // string? | (optional)
try
{
// Search top Threads posts
ThreadsSearchRecentGet200Response result = apiInstance.ThreadsSearchTopGet(q, cursor);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsSearchTopGet: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Search top Threads posts
ApiResponse<ThreadsSearchRecentGet200Response> response = apiInstance.ThreadsSearchTopGetWithHttpInfo(q, cursor);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsSearchTopGetWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| q | string | Search keyword. | |
| cursor | string? | [optional] |
ThreadsSearchRecentGet200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Validation or invalid-id error | - |
| 401 | Missing, invalid, disabled, revoked, or expired UnifAPI API key | - |
| 402 | Insufficient workspace credits | - |
| 404 | Resource not found | - |
| 429 | Rate limited | - |
| 500 | Internal error | - |
| 502 | Source error | - |
| 503 | Source unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ThreadsUsersUsernameGet200Response ThreadsUsersUsernameGet (string username)
Get a Threads user profile by username
using System.Collections.Generic;
using System.Diagnostics;
using Unifapi.Sdk.Api;
using Unifapi.Sdk.Client;
using Unifapi.Sdk.Model;
namespace Example
{
public class ThreadsUsersUsernameGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.unifapi.com";
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ThreadsApi(config);
var username = "username_example"; // string |
try
{
// Get a Threads user profile by username
ThreadsUsersUsernameGet200Response result = apiInstance.ThreadsUsersUsernameGet(username);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsUsersUsernameGet: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Get a Threads user profile by username
ApiResponse<ThreadsUsersUsernameGet200Response> response = apiInstance.ThreadsUsersUsernameGetWithHttpInfo(username);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsUsersUsernameGetWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| username | string |
ThreadsUsersUsernameGet200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Validation or invalid-id error | - |
| 401 | Missing, invalid, disabled, revoked, or expired UnifAPI API key | - |
| 402 | Insufficient workspace credits | - |
| 404 | Resource not found | - |
| 429 | Rate limited | - |
| 500 | Internal error | - |
| 502 | Source error | - |
| 503 | Source unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ThreadsSearchRecentGet200Response ThreadsUsersUsernamePostsGet (string username, string? cursor = null)
List Threads posts authored by a user
using System.Collections.Generic;
using System.Diagnostics;
using Unifapi.Sdk.Api;
using Unifapi.Sdk.Client;
using Unifapi.Sdk.Model;
namespace Example
{
public class ThreadsUsersUsernamePostsGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.unifapi.com";
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ThreadsApi(config);
var username = "username_example"; // string |
var cursor = "cursor_example"; // string? | (optional)
try
{
// List Threads posts authored by a user
ThreadsSearchRecentGet200Response result = apiInstance.ThreadsUsersUsernamePostsGet(username, cursor);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsUsersUsernamePostsGet: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Threads posts authored by a user
ApiResponse<ThreadsSearchRecentGet200Response> response = apiInstance.ThreadsUsersUsernamePostsGetWithHttpInfo(username, cursor);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsUsersUsernamePostsGetWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| username | string | ||
| cursor | string? | [optional] |
ThreadsSearchRecentGet200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Validation or invalid-id error | - |
| 401 | Missing, invalid, disabled, revoked, or expired UnifAPI API key | - |
| 402 | Insufficient workspace credits | - |
| 404 | Resource not found | - |
| 429 | Rate limited | - |
| 500 | Internal error | - |
| 502 | Source error | - |
| 503 | Source unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ThreadsSearchRecentGet200Response ThreadsUsersUsernameRepliesGet (string username, string? cursor = null)
List Threads replies authored by a user
using System.Collections.Generic;
using System.Diagnostics;
using Unifapi.Sdk.Api;
using Unifapi.Sdk.Client;
using Unifapi.Sdk.Model;
namespace Example
{
public class ThreadsUsersUsernameRepliesGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.unifapi.com";
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ThreadsApi(config);
var username = "username_example"; // string |
var cursor = "cursor_example"; // string? | (optional)
try
{
// List Threads replies authored by a user
ThreadsSearchRecentGet200Response result = apiInstance.ThreadsUsersUsernameRepliesGet(username, cursor);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsUsersUsernameRepliesGet: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Threads replies authored by a user
ApiResponse<ThreadsSearchRecentGet200Response> response = apiInstance.ThreadsUsersUsernameRepliesGetWithHttpInfo(username, cursor);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsUsersUsernameRepliesGetWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| username | string | ||
| cursor | string? | [optional] |
ThreadsSearchRecentGet200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Validation or invalid-id error | - |
| 401 | Missing, invalid, disabled, revoked, or expired UnifAPI API key | - |
| 402 | Insufficient workspace credits | - |
| 404 | Resource not found | - |
| 429 | Rate limited | - |
| 500 | Internal error | - |
| 502 | Source error | - |
| 503 | Source unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ThreadsSearchRecentGet200Response ThreadsUsersUsernameRepostsGet (string username, string? cursor = null)
List Threads reposts by a user
using System.Collections.Generic;
using System.Diagnostics;
using Unifapi.Sdk.Api;
using Unifapi.Sdk.Client;
using Unifapi.Sdk.Model;
namespace Example
{
public class ThreadsUsersUsernameRepostsGetExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.unifapi.com";
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new ThreadsApi(config);
var username = "username_example"; // string |
var cursor = "cursor_example"; // string? | (optional)
try
{
// List Threads reposts by a user
ThreadsSearchRecentGet200Response result = apiInstance.ThreadsUsersUsernameRepostsGet(username, cursor);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsUsersUsernameRepostsGet: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Threads reposts by a user
ApiResponse<ThreadsSearchRecentGet200Response> response = apiInstance.ThreadsUsersUsernameRepostsGetWithHttpInfo(username, cursor);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ThreadsApi.ThreadsUsersUsernameRepostsGetWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| username | string | ||
| cursor | string? | [optional] |
ThreadsSearchRecentGet200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Validation or invalid-id error | - |
| 401 | Missing, invalid, disabled, revoked, or expired UnifAPI API key | - |
| 402 | Insufficient workspace credits | - |
| 404 | Resource not found | - |
| 429 | Rate limited | - |
| 500 | Internal error | - |
| 502 | Source error | - |
| 503 | Source unavailable | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]