### List Example Workflows Source: https://api.trigify.io/docs Returns example workflow definitions demonstrating common patterns. No credits charged. ```APIDOC ## GET /v1/workflows/examples ### Description Returns example workflow definitions demonstrating common patterns. No credits charged. ### Method GET ### Endpoint /v1/workflows/examples ### Parameters #### Headers - **x-api-key** (string) - Optional ### Response #### Success Response (200) - **examples** (ListExamplesResponse) - Description of the response structure for a list of example workflows. ``` -------------------------------- ### Get X Connection URL and Status Source: https://api.trigify.io/docs Returns the URL to connect an X account and the current connection status. No credits charged. ```APIDOC ## GET /v1/connect/x ### Description Returns the URL to connect an X account and the current connection status. ### Method GET ### Endpoint /v1/connect/x ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Responses #### Success Response (200) - **success** (boolean) - Indicates if the operation was successful. - **connected** (boolean) - Indicates if the X account is currently connected. - **url** (string) - The URL for connecting the X account. - **authorize_url** (string) - The authorization URL for the X account. - **message** (string) - A message providing details about the connection status. ``` -------------------------------- ### Get X Account Connection URL Source: https://api.trigify.io/docs Retrieves the URL required to initiate the connection process for a new X account. ```APIDOC ## GET /v1/x/connect ### Description Get the URL to connect an X account. ### Method GET ### Endpoint /v1/x/connect ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Response #### Success Response (200) - **success** (boolean) - Indicates if the action was successful. - **url** (string) - The URL to redirect the user to for connecting their X account. #### Response Example ```json { "success": true, "url": "https://api.trigify.io/v1/x/connect/initiate?token=some_token" } ``` ``` -------------------------------- ### Get execution detail Source: https://api.trigify.io/docs Returns a single execution log with its ordered step details. No credits charged. ```APIDOC ## GET /v1/workflows/{id}/executions/{runId} ### Description Returns a single execution log with its ordered step details. No credits charged. ### Method GET ### Endpoint /v1/workflows/{id}/executions/{runId} ### Parameters #### Path Parameters - **id** (string) - Required - Workflow ID - **runId** (string) - Required - Execution run ID #### Header Parameters - **x-api-key** (string) - Optional ### Response #### Success Response (200) - **(object)** - Description: Execution detail with steps. Schema reference: GetExecutionResponse ``` -------------------------------- ### Get Credit Balance Source: https://api.trigify.io/docs Returns the current credit balance, subscription plan, and next reset date. No credits charged. ```APIDOC ## GET /v1/credits/balance ### Description Returns the current credit balance, subscription plan, and next reset date. ### Method GET ### Endpoint /v1/credits/balance ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Responses #### Success Response (200) - The response schema is defined by `#/components/schemas/GetCreditBalanceResponse`. ``` -------------------------------- ### Get Usage Summary Source: https://api.trigify.io/docs Returns usage metrics for the authenticated organization, including credits consumed, active monitors, and results collected. Filterable by date range. ```APIDOC ## GET /v1/usage ### Description Returns usage metrics for the authenticated organisation: credits consumed, active monitors, results collected. Filterable by date range. No credits charged. ### Method GET ### Endpoint /v1/usage ### Parameters #### Query Parameters - **from** (string) - Optional - Start date (ISO 8601). Defaults to start of current billing month. - **to** (string) - Optional - End date (ISO 8601). Defaults to now. #### Headers - **x-api-key** (string) - Optional ### Responses #### Success Response (200) - **Usage summary** - Description of the response object (schema: GetUsageResponse) ``` -------------------------------- ### Get Organisation Details Source: https://api.trigify.io/docs Returns the authenticated user's organisation including name, plan, subscription status, and member count. No credits charged. ```APIDOC ## GET /v1/org ### Description Returns the authenticated user's organisation including name, plan, subscription status, and member count. ### Method GET ### Endpoint /v1/org ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Responses #### Success Response (200) - The response schema is defined by `#/components/schemas/GetOrgResponse`. ``` -------------------------------- ### Get search details Source: https://api.trigify.io/docs Get details of a specific search including query configuration and stats. No credits charged. ```APIDOC ## GET /v1/searches/{id} ### Description Get details of a specific search including query configuration and stats. No credits charged. ### Method GET ### Endpoint /v1/searches/{id} ### Parameters #### Path Parameters - **id** (string) - Required - Search ID. Example: `search_abc123xyz` #### Header Parameters - **x-api-key** (string) - Optional - ### Responses #### Success Response (200) - **GetSearchResponse** (object) - Search details ``` -------------------------------- ### Monitor a podcast for new episodes Source: https://api.trigify.io/docs Create a monitor that tracks new episodes from a specific podcast. Use POST /v1/searches/podcasts/search to find the podcast_id first. Costs 1 credit. ```APIDOC ## POST /v1/searches/podcast/episodes ### Description Create a monitor that tracks new episodes from a specific podcast. Use POST /v1/searches/podcasts/search to find the podcast_id first. Costs 1 credit. ### Method POST ### Endpoint /v1/searches/podcast/episodes ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Request Body - **CreatePodcastEpisodesSearchRequest** (object) - Required - The schema for creating a podcast episodes search. ### Responses #### Success Response (201) - **CreateSearchResponse** (object) - Search created successfully. #### Error Responses - **400** - Bad request — request body failed schema validation. - **401** - Unauthorized — missing or invalid API key. - **403** - Forbidden — plan gating or insufficient credits. - **409** - Conflict — a search with this name already exists. - **429** - Too many requests — rate limit exceeded. - **500** - Internal server error. ``` -------------------------------- ### POST /v1/searches/podcast/keywords/preview Source: https://api.trigify.io/docs Preview a podcast-keywords search by running the filters as a live query and returning a sample of matching posts. This allows API consumers to validate their filters before committing to a saved search. ```APIDOC ## POST /v1/searches/podcast/keywords/preview ### Description Preview a podcast-keywords search by running the filters as a live query and returning a sample of matching posts. Lets API consumers validate their filters before committing to a saved search. ### Method POST ### Endpoint /v1/searches/podcast/keywords/preview ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **schema** (object) - Required - The schema for the request body, referencing `#/components/schemas/CreatePodcastKeywordsSearchRequest`. ### Responses #### Success Response (200) - **schema** (object) - Description: Preview results returned successfully, referencing `#/components/schemas/PreviewSearchResponse`. #### Error Responses - **400** - Bad request — request body failed schema validation - **401** - Unauthorized — missing or invalid API key - **403** - Forbidden — plan gating or insufficient credits / spend cap reached - **429** - Too many requests — rate limit exceeded - **500** - Internal server error ``` -------------------------------- ### Get Topic Search Details Source: https://api.trigify.io/docs Gets details for a specific enterprise-only topic search, including its monitoring state. Matching posts begin immediate hydration on create and continue through engagement backfills while the search stays active. No credits are charged for this read endpoint. ```APIDOC ## GET /v1/topics/{id} ### Description Gets details for a specific enterprise-only topic search, including its monitoring state. Active searches are rediscovered daily at 06:00 UTC. Matching posts begin immediate hydration on create and continue through Day 1, Day 3, and Day 5 engagement backfills while the search stays active. No credits are charged for this read endpoint. ### Method GET ### Endpoint /v1/topics/{id} ### Parameters #### Path Parameters - **id** (string) - Required - Topic search ID. Example: topic_abc123xyz #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Response #### Success Response (200) - **GetTopicResponse** (object) - Topic search details. #### Response Example ```json { "example": "response body" } ``` ``` -------------------------------- ### Get CRM Fields Source: https://api.trigify.io/docs Retrieves a list of available CRM fields. ```APIDOC ## GET /v1/integrations/crm-fields ### Description Retrieves a list of available CRM fields. ### Method GET ### Endpoint /v1/integrations/crm-fields ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Responses #### Success Response (200) - **CrmFieldsResponse** - Description of the CRM fields response schema. ``` -------------------------------- ### POST /v1/searches/podcast/keywords/preview Source: https://api.trigify.io/docs Preview podcast keyword search results. This endpoint accepts the same request body as POST /v1/searches/podcast/keywords, but the `name` and `frequency` fields are ignored. This operation is free and does not consume credits. ```APIDOC ## POST /v1/searches/podcast/keywords/preview ### Description Preview podcast keyword search results. This endpoint accepts the same request body as POST /v1/searches/podcast/keywords, but the `name` and `frequency` fields are ignored. This operation is free and does not consume credits. ### Method POST ### Endpoint /v1/searches/podcast/keywords/preview ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Request Body - **(object)** - Required - The request body schema is defined by `#/components/schemas/CreatePodcastKeywordsSearchRequest`. ### Response #### Success Response (200) - **(object)** - Preview results returned successfully. The response schema is defined by `#/components/schemas/PreviewSearchResponse`. #### Error Responses - **400**: Bad request — request body failed schema validation. - **401**: Unauthorized — missing or invalid API key. - **403**: Forbidden — plan gating or insufficient credits/spend cap reached. - **429**: Too many requests — rate limit exceeded. - **500**: Internal server error. ``` -------------------------------- ### Get Workflow Source: https://api.trigify.io/docs Retrieves a single workflow by its ID. No credits charged. ```APIDOC ## GET /v1/workflows/{id} ### Description Returns a single workflow by ID. No credits charged. ### Method GET ### Endpoint /v1/workflows/{id} ### Parameters #### Path Parameters - **id** (string) - Required - Workflow ID #### Headers - **x-api-key** (string) - Optional ### Response #### Success Response (200) - **workflow** (GetWorkflowResponse) - Description of the response structure for a single workflow. ``` -------------------------------- ### Create a Post Source: https://api.trigify.io/docs Create a new post on X. Supports optional polls. This action costs 1 credit. ```APIDOC ## POST /v1/x/create-post ### Description Create a new post. Supports optional polls. Costs 1 credit. ### Method POST ### Endpoint /v1/x/create-post ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **text** (string) - Required - The content of the post. - **account_id** (string) - Required - The ID of the X account to use for creating the post. - **poll_options** (array) - Optional - An array of strings representing poll options (max 4 options). ### Request Example ```json { "text": "This is a new post!", "account_id": "9876543210", "poll_options": ["Option 1", "Option 2"] } ``` ### Response #### Success Response (200) - **success** (boolean) - Indicates if the action was successful. - **action** (string) - The type of action performed. - **entity_id** (string) - The ID of the newly created post. - **url** (string) - The URL to the created post. - **credits_used** (number) - The number of credits used for this action. - **credits_remaining** (number) - The number of credits remaining. - **already_done** (boolean) - Indicates if the action was already completed. - **pending_follow** (boolean) - Indicates if a follow action is pending. - **daily_actions_remaining** (number) - The number of daily actions remaining. - **rate_limit_remaining** (number) - The number of remaining requests allowed by the rate limit. - **rate_limit_reset** (string) - The time when the rate limit resets. - **retry_after_seconds** (number) - The number of seconds to wait before retrying. #### Response Example ```json { "success": true, "action": "create_post", "entity_id": "1122334455", "url": "https://twitter.com/user/status/1122334455", "credits_used": 1, "credits_remaining": 99, "already_done": false, "pending_follow": false, "daily_actions_remaining": 49, "rate_limit_remaining": 499, "rate_limit_reset": "2023-10-27T10:00:00Z", "retry_after_seconds": 0 } ``` ``` -------------------------------- ### List connected integrations Source: https://api.trigify.io/docs Returns all OAuth and API-key integrations connected for the workspace. No credits charged. ```APIDOC ## GET /v1/integrations ### Description Returns all OAuth and API-key integrations connected for the workspace. No credits charged. ### Method GET ### Endpoint /v1/integrations ### Parameters #### Header Parameters - **x-api-key** (string) - Optional ### Response #### Success Response (200) - **(object)** - Description: Connected integrations. Schema reference: ListIntegrationsResponse ``` -------------------------------- ### Get Profile Posts Source: https://api.trigify.io/docs Retrieves posts from a specified LinkedIn profile. ```APIDOC ## POST /v1/profile/posts ### Description Retrieves posts from a specified LinkedIn profile. ### Method POST ### Endpoint /v1/profile/posts ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **profileUrl** (string) - Required - The LinkedIn profile URL to get posts from. ex: 'https://linkedin.com/in/username' - **page** (integer) - Optional - Page number for pagination (0-based). Default: 0 - **after** (string) - Optional - ISO date string to filter posts created after this date - **paginationToken** (string) - Optional - Pagination token for fetching specific page ### Response #### Success Response (200) - **message** (string) - Description of the response message. - **success** (boolean) - Indicates if the operation was successful. - **data** (object) - Contains the retrieved profile posts data. ``` -------------------------------- ### POST /v1/searches/youtube/videos/preview Source: https://api.trigify.io/docs Preview a youtube-videos search by running the filters as a live query and returning a sample of matching posts. This allows API consumers to validate their filters before committing to a saved search. It accepts the same request body as POST /v1/searches/youtube/videos, with `name` and `frequency` fields being ignored. This endpoint is free and does not charge credits. ```APIDOC ## POST /v1/searches/youtube/videos/preview ### Description Run the youtube-videos filters as a live query and return a sample of matching posts. Lets API consumers validate their filters before committing to a saved search. Accepts the same request body as POST /v1/searches/youtube/videos — the `name` and `frequency` fields are accepted but ignored, so you can POST the exact same payload to /preview first. **Free** — no credits charged. ### Method POST ### Endpoint /v1/searches/youtube/videos/preview ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **(object)** - Required - Schema defined by `CreateYoutubeVideosSearchRequest`. ### Responses #### Success Response (200) - **(object)** - Preview results returned successfully. Schema defined by `PreviewSearchResponse`. #### Error Responses - **400** - Bad request — request body failed schema validation. Schema defined by `ErrorResponse`. - **401** - Unauthorized — missing or invalid API key. Schema defined by `ErrorResponse`. - **403** - Forbidden — plan gating or insufficient credits/spend cap. Schema defined by `ErrorResponse`. - **429** - Too many requests — rate limit exceeded. Schema defined by `ErrorResponse`. - **500** - Internal server error. Schema defined by `ErrorResponse`. ``` -------------------------------- ### Get Topic Source: https://api.trigify.io/docs Retrieves details for a specific topic search by its ID. ```APIDOC ## GET /topics/{topic_id} ### Description Retrieves details for a specific topic search. ### Method GET ### Endpoint /topics/{topic_id} ### Parameters #### Path Parameters - **topic_id** (string) - Required - The ID of the topic search to retrieve ### Response #### Success Response (200) - **message** (string) - Confirmation message - **success** (boolean) - Indicates if the operation was successful - **data** (object) - Details of the topic search (see TopicSearch schema) #### Response Example ```json { "message": "Topic search retrieved successfully.", "success": true, "data": { "id": "topic-12345", "name": "Example Topic Search", "status": "ACTIVE", "keywords": ["AI", "Machine Learning"], "keywords_and": ["deep learning"], "keywords_not": ["ethics"], "job_titles": ["Data Scientist"], "time_frame": "past-month", "max_results": 100, "content_type": "posts", "sort_by": "relevance", "expires_at": "2024-12-31T00:00:00Z", "last_run": null, "new_items": false, "number_of_new_items": 0, "created": "2023-10-27T10:00:00Z", "updated": "2023-10-27T10:00:00Z" } } ``` ``` -------------------------------- ### POST /v1/searches/dailydev/posts/preview Source: https://api.trigify.io/docs Preview DailyDev posts search results. This endpoint accepts the same request body as POST /v1/searches/dailydev/posts, but the `name` and `frequency` fields are ignored. This operation is free and does not consume credits. ```APIDOC ## POST /v1/searches/dailydev/posts/preview ### Description Preview DailyDev posts search results. This endpoint accepts the same request body as POST /v1/searches/dailydev/posts, but the `name` and `frequency` fields are ignored. This operation is free and does not consume credits. ### Method POST ### Endpoint /v1/searches/dailydev/posts/preview ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Request Body - **(object)** - Required - The request body schema is defined by `#/components/schemas/CreateDailyDevPostsSearchRequest`. ### Response #### Success Response (200) - **(object)** - Preview results returned successfully. The response schema is defined by `#/components/schemas/PreviewSearchResponse`. #### Error Responses - **400**: Bad request — request body failed schema validation. - **401**: Unauthorized — missing or invalid API key. - **403**: Forbidden — plan gating or insufficient credits/spend cap reached. - **429**: Too many requests — rate limit exceeded. - **500**: Internal server error. ``` -------------------------------- ### Get Post Comment Replies Source: https://api.trigify.io/docs Retrieves replies for a specific comment. ```APIDOC ## GET /v1/post/comments/replies ### Description Retrieves replies for a specific comment. ### Method GET ### Endpoint /v1/post/comments/replies ### Parameters #### Query Parameters - **commentUrn** (string) - Required - The URN of the comment to retrieve replies for. - **cursor** (string) - Optional - The cursor for fetching the next page of replies. - **limit** (integer) - Optional - The maximum number of replies to return per page. Defaults to 20. ### Response #### Success Response (200) - **message** (string) - Success message. - **success** (boolean) - Indicates if the request was successful. - **data** (object) - Contains the reply data. - **replies** (array) - List of replies. - **count** (number) - Number of replies returned in this response. - **previousCursor** (string|null) - Cursor to request the next page of replies. - **hasMore** (boolean) - Whether another page of replies is available. #### Response Example { "message": "Replies retrieved successfully", "success": true, "data": { "replies": [ { "urn": "urn:li:comment:67890", "text": "Thanks for the reply!", "createdAt": 1678886500, "createdAtString": "2023-03-15T12:01:40Z", "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:12345/comment/12345/reply/67890", "author": {}, "totalSocialActivityCounts": {} } ], "count": 1, "previousCursor": null, "hasMore": false } } ``` -------------------------------- ### Get Notion Database Schema Source: https://api.trigify.io/docs Retrieves the properties/schema for a specific Notion database. ```APIDOC ## GET /v1/integrations/notion/databases/{database_id}/schema ### Description Returns the properties/schema for a Notion database. ### Method GET ### Endpoint /v1/integrations/notion/databases/{database_id}/schema ### Parameters #### Path Parameters - **database_id** (string) - Required - Notion database ID. #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Responses #### Success Response (200) - **NotionSchemaResponse** - Description of the Notion schema response schema. ``` -------------------------------- ### Preview Podcast Episodes Search Source: https://api.trigify.io/docs Run the podcast-episodes filters as a live query and return a sample of matching posts. Lets API consumers validate their filters before committing to a saved search. Accepts the same request body as POST /v1/searches/podcast/episodes — the `name` and `frequency` fields are accepted but ignored, so you can POST the exact same payload to /preview first. **Free** — no credits charged. ```APIDOC ## POST /v1/searches/podcast/episodes/preview ### Description Preview a podcast-episodes search by running filters as a live query and returning a sample of matching posts. This allows API consumers to validate their filters before committing to a saved search. The `name` and `frequency` fields in the request body are accepted but ignored. ### Method POST ### Endpoint /v1/searches/podcast/episodes/preview ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **schema** (object) - Required - The request body must conform to the `CreatePodcastEpisodesSearchRequest` schema. ### Responses #### Success Response (200) - **schema** (object) - The response contains a `PreviewSearchResponse` schema. #### Error Responses - **400**: Bad request — request body failed schema validation. - **401**: Unauthorized — missing or invalid API key. - **403**: Forbidden — plan gating or insufficient credits/spend cap reached. - **429**: Too many requests — rate limit exceeded. - **500**: Internal server error. ``` -------------------------------- ### Get Workflow Draft Source: https://api.trigify.io/docs Returns the current draft for a workflow. No credits charged. ```APIDOC ## GET /v1/workflows/{id}/draft ### Description Returns the current draft for a workflow. No credits charged. ### Method GET ### Endpoint /v1/workflows/{id}/draft ### Parameters #### Path Parameters - **id** (string) - Required - Workflow ID #### Headers - **x-api-key** (string) - Optional ### Response #### Success Response (200) - **draft** (GetDraftResponse) - Description of the response containing the workflow draft. ``` -------------------------------- ### Monitor a YouTube channel Source: https://api.trigify.io/docs Create a monitor that tracks new videos from a specific YouTube channel. Costs 1 credit. ```APIDOC ## POST /v1/searches/youtube/channel ### Description Create a monitor that tracks new videos from a specific YouTube channel. ### Method POST ### Endpoint /v1/searches/youtube/channel ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **name** (string) - Required - The name of the search monitor. - **channel_id** (string) - Required - The ID of the YouTube channel. ### Request Example { "name": "Example YouTube Channel Search", "channel_id": "UCxxxxxxxxxxxx" } ### Response #### Success Response (201) - **id** (string) - The unique identifier of the created search. - **name** (string) - The name of the search monitor. #### Response Example { "id": "search_abcde", "name": "Example YouTube Channel Search" } ``` -------------------------------- ### Get Post Engagements Source: https://api.trigify.io/docs Retrieves engagement data for a specific LinkedIn post. ```APIDOC ## POST /v1/post/engagements ### Description Retrieves engagement data for a specific LinkedIn post. ### Method POST ### Endpoint /v1/post/engagements ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **postUrl** (string) - Required - The LinkedIn post URL to get engagements from. ex: 'https://linkedin.com/posts/username_activity-123456789' - **page** (integer) - Optional - The page number for pagination (defaults to 1) ``` -------------------------------- ### Create Podcast Keywords Search Source: https://api.trigify.io/docs Create a keyword-based search that monitors podcast episode transcripts. Costs 1 credit. ```APIDOC ## POST /v1/searches/podcast/keywords ### Description Create a keyword-based search that monitors podcast episode transcripts. Costs 1 credit. ### Method POST ### Endpoint /v1/searches/podcast/keywords ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **(object)** - Required - The request body must contain a valid `CreatePodcastKeywordsSearchRequest` schema. ### Responses #### Success Response (201) - **(object)** - Search created successfully. Contains a `CreateSearchResponse` schema. #### Error Responses - **400** - Bad request — request body failed schema validation. - **401** - Unauthorized — missing or invalid API key. - **403** - Forbidden — plan gating or insufficient credits. - **409** - Conflict — a search with this name already exists. - **429** - Too many requests — rate limit exceeded. - **500** - Internal server error. ``` -------------------------------- ### Get Post By URL Source: https://api.trigify.io/docs Retrieves details about a LinkedIn post given its URL. ```APIDOC ## GET /v1/post/url ### Description Retrieves details about a LinkedIn post given its URL. ### Method GET ### Endpoint /v1/post/url ### Parameters #### Query Parameters - **url** (string) - Required - The URL of the LinkedIn post. ### Response #### Success Response (200) - **message** (string) - Success message. - **success** (boolean) - Indicates if the request was successful. - **data** (object|null) - Contains the post details. - **urn** (string) - LinkedIn post URN. - **text** (string|null) - Post text content. - **postUrl** (string) - LinkedIn post URL. - **postedAt** (string) - When the post was published. - **postedDate** (string|null) - Posted date in ISO format. - **postedDateTimestamp** (number|null) - Posted date as timestamp. - **likeCount** (integer|null) - Number of likes. - **commentsCount** (integer|null) - Number of comments. - **repostsCount** (integer|null) - Number of reposts. - **appreciationCount** (integer|null) - Number of appreciation reactions. - **empathyCount** (integer|null) - Number of empathy reactions. - **funnyCount** (integer|null) - Number of funny reactions. - **interestCount** (integer|null) - Number of interest reactions. - **praiseCount** (integer|null) - Number of praise reactions. - **reposted** (boolean|null) - Whether this is a repost. - **author** (object|null) - Post author information. - **firstName** (string|null) - Author first name. - **lastName** (string|null) - Author last name. - **headline** (string|null) - Author headline. - **profilePictures** (array|null) - Author profile pictures. - **url** (string) - Profile picture URL. - **url** (string|null) - Author LinkedIn profile URL. - **username** (string|null) - Author username. - **company** (object|null) - Company information if applicable. - **name** (string|null) - Company name. - **linkedinUrl** (string|null) - Company LinkedIn URL. - **logo** (string|null) - Company logo URL. #### Response Example { "message": "Post details retrieved successfully", "success": true, "data": { "urn": "urn:li:activity:12345", "text": "Excited to share my latest project!", "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:12345", "postedAt": "2023-03-15T10:00:00Z", "postedDate": "2023-03-15", "postedDateTimestamp": 1678879200, "likeCount": 150, "commentsCount": 20, "repostsCount": 10, "appreciationCount": 5, "empathyCount": 3, "funnyCount": 2, "interestCount": 1, "praiseCount": 4, "reposted": false, "author": { "firstName": "Jane", "lastName": "Doe", "headline": "Software Engineer", "profilePictures": [ { "url": "https://example.com/profile.jpg" } ], "url": "https://www.linkedin.com/in/janedoe", "username": "janedoe" }, "company": { "name": "Tech Corp", "linkedinUrl": "https://www.linkedin.com/company/techcorp", "logo": "https://example.com/logo.png" } } } ``` -------------------------------- ### Create a YouTube videos search Source: https://api.trigify.io/docs Create a keyword-based search that monitors YouTube videos. Costs 1 credit. ```APIDOC ## POST /v1/searches/youtube/videos ### Description Create a keyword-based search that monitors YouTube videos. Costs 1 credit. ### Method POST ### Endpoint /v1/searches/youtube/videos ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Request Body - **CreateYouTubeVideosSearchRequest** (object) - Required - Schema for creating a YouTube videos search. ### Response #### Success Response (201) - **CreateSearchResponse** (object) - Search created successfully. #### Error Responses - **400**: Bad request — request body failed schema validation - **401**: Unauthorized — missing or invalid API key - **403**: Forbidden — plan gating or insufficient credits / spend cap reached - **409**: Conflict — a search with this name already exists - **429**: Too many requests — rate limit exceeded - **500**: Internal server error ``` -------------------------------- ### Get Airtable Table Fields Source: https://api.trigify.io/docs Retrieves field/column definitions for a specified Airtable table. ```APIDOC ## GET /v1/integrations/airtable/fields ### Description Returns field/column definitions for an Airtable table. ### Method GET ### Endpoint /v1/integrations/airtable/fields ### Parameters #### Query Parameters - **base_id** (string) - Required - Airtable base ID. - **table_id** (string) - Required - Airtable table ID. #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Responses #### Success Response (200) - **AirtableFieldsResponse** - Description of the Airtable fields response schema. ``` -------------------------------- ### Create Workflow Table Source: https://api.trigify.io/docs Creates a new workflow table for storing agent memory. Charges 0 credits. ```APIDOC ## POST /v1/workflow-tables ### Description Creates a new workflow table for storing agent memory. ### Method POST ### Endpoint /v1/workflow-tables ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - The request body schema is defined by `#/components/schemas/CreateWorkflowTableBody`. ### Responses #### Success Response (201) - The response schema is defined by `#/components/schemas/CreateWorkflowTableResponse`. ``` -------------------------------- ### Get CRM Field Options (Attio) Source: https://api.trigify.io/docs Returns select/multiselect options for an Attio field. ```APIDOC ## GET /v1/integrations/crm-field-options ### Description Returns select/multiselect options for an Attio field. ### Method GET ### Endpoint /v1/integrations/crm-field-options ### Parameters #### Query Parameters - **object_type** (string) - Required - Object type (contacts or companies). - **field_slug** (string) - Required - Field slug (for Attio select/multiselect fields). #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Responses #### Success Response (200) - **CrmFieldOptionsResponse** - Description of the CRM field options response schema. ``` -------------------------------- ### Like a Post Source: https://api.trigify.io/docs Like a post on X using the specified account. This action costs 1 credit. ```APIDOC ## POST /v1/x/like-post ### Description Like a post using the specified X account. Costs 1 credit. ### Method POST ### Endpoint /v1/x/like-post ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **tweet_id** (string) - Required - The ID of the tweet to like. - **account_id** (string) - Required - The ID of the X account to use for liking. ### Request Example ```json { "tweet_id": "1234567890", "account_id": "9876543210" } ``` ### Response #### Success Response (200) - **success** (boolean) - Indicates if the action was successful. - **action** (string) - The type of action performed. - **entity_id** (string) - The ID of the entity the action was performed on. - **url** (string) - The URL to the post. - **credits_used** (number) - The number of credits used for this action. - **credits_remaining** (number) - The number of credits remaining. - **already_done** (boolean) - Indicates if the action was already completed. - **pending_follow** (boolean) - Indicates if a follow action is pending. - **daily_actions_remaining** (number) - The number of daily actions remaining. - **rate_limit_remaining** (number) - The number of remaining requests allowed by the rate limit. - **rate_limit_reset** (string) - The time when the rate limit resets. - **retry_after_seconds** (number) - The number of seconds to wait before retrying. #### Response Example ```json { "success": true, "action": "like", "entity_id": "1234567890", "url": "https://twitter.com/user/status/1234567890", "credits_used": 1, "credits_remaining": 99, "already_done": false, "pending_follow": false, "daily_actions_remaining": 49, "rate_limit_remaining": 499, "rate_limit_reset": "2023-10-27T10:00:00Z", "retry_after_seconds": 0 } ``` ``` -------------------------------- ### Get X Post Comments Source: https://api.trigify.io/docs Retrieves comments for a given X post URL. ```APIDOC ## POST /v1/x-post/comments ### Description Retrieves comments for a given X post URL. ### Method POST ### Endpoint /v1/x-post/comments ### Parameters #### Request Body - **postUrl** (string) - Required - The X post URL to get comments from. ex: 'https://x.com/user/status/1234567890' - **maxComments** (integer) - Optional - Maximum number of comments to fetch (defaults to 50, max 1000) #### Headers - **x-api-key** (string) - Optional ### Responses #### Success Response (200) - **Successfully retrieved X post comments** - Description of the response object (schema: GetXPostCommentsResponse) ``` -------------------------------- ### Get Post Comment Replies Source: https://api.trigify.io/docs Retrieves replies to a specific comment on a LinkedIn post. ```APIDOC ## POST /v1/post/comments/replies ### Description Retrieves replies to a specific comment on a LinkedIn post. ### Method POST ### Endpoint /v1/post/comments/replies ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **postUrn** (string) - Required - The LinkedIn post URN to get replies from. ex: '7196224250288955393' - **commentUrn** (string) - Required - The LinkedIn comment URN returned by POST /v1/post/comments. Legacy numeric comment ids are also accepted for backward compatibility. ex: 'urn:li:comment:(urn:li:ugcPost:7218979654638989312,7219337261564252161)' - **previousCursor** (string) - Optional - Cursor returned by the comments or replies response to fetch the next page of replies ``` -------------------------------- ### Get Post Comments Source: https://api.trigify.io/docs Retrieves comments for a specific LinkedIn post, identified by its URN. ```APIDOC ## POST /v1/post/comments ### Description Retrieves comments for a specific LinkedIn post, identified by its URN. ### Method POST ### Endpoint /v1/post/comments ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **postUrn** (string) - Required - The LinkedIn post URN to get comments from. ex: '7196224250288955393' - **page** (integer) - Optional - The page number for pagination (defaults to 1) ``` -------------------------------- ### Get Company Posts Source: https://api.trigify.io/docs Retrieves a list of posts published by a specific LinkedIn company. ```APIDOC ## POST /v1/company/posts ### Description Retrieves a list of posts published by a specific LinkedIn company. ### Method POST ### Endpoint /v1/company/posts ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **companyUrl** (string) - Required - The LinkedIn company URL to get posts from. ex: 'https://linkedin.com/company/trigify' ``` -------------------------------- ### Preview YouTube Channel Search Source: https://api.trigify.io/docs Run the youtube-channel filters as a live query and return a sample of matching posts. Lets API consumers validate their filters before committing to a saved search. Accepts the same request body as POST /v1/searches/youtube/channel — the `name` and `frequency` fields are accepted but ignored, so you can POST the exact same payload to /preview first. **Free** — no credits charged. ```APIDOC ## POST /v1/searches/youtube/channel/preview ### Description Preview a youtube-channel search by running filters as a live query and returning a sample of matching posts. This allows API consumers to validate their filters before committing to a saved search. The `name` and `frequency` fields in the request body are accepted but ignored. ### Method POST ### Endpoint /v1/searches/youtube/channel/preview ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. #### Request Body - **(CreateYouTubeChannelSearchRequest)** - Required - The schema for creating a YouTube channel search. ### Responses #### Success Response (200) - **(PreviewSearchResponse)** - Preview results returned successfully. #### Error Responses - **400** - Bad request — request body failed schema validation. - **401** - Unauthorized — missing or invalid API key. - **403** - Forbidden — plan gating or insufficient credits. - **429** - Too many requests — rate limit exceeded. - **500** - Internal server error. ``` -------------------------------- ### POST /v1/searches/hackernews/stories/preview Source: https://api.trigify.io/docs Preview Hacker News stories search results. This endpoint accepts the same request body as POST /v1/searches/hackernews/stories, but the `name` and `frequency` fields are ignored. This operation is free and does not consume credits. ```APIDOC ## POST /v1/searches/hackernews/stories/preview ### Description Preview Hacker News stories search results. This endpoint accepts the same request body as POST /v1/searches/hackernews/stories, but the `name` and `frequency` fields are ignored. This operation is free and does not consume credits. ### Method POST ### Endpoint /v1/searches/hackernews/stories/preview ### Parameters #### Header Parameters - **x-api-key** (string) - Optional - API key for authentication. ### Request Body - **(object)** - Required - The request body schema is defined by `#/components/schemas/CreateHackerNewsStoriesSearchRequest`. ### Response #### Success Response (200) - **(object)** - Preview results returned successfully. The response schema is defined by `#/components/schemas/PreviewSearchResponse`. #### Error Responses - **400**: Bad request — request body failed schema validation. - **401**: Unauthorized — missing or invalid API key. - **403**: Forbidden — plan gating or insufficient credits/spend cap reached. - **429**: Too many requests — rate limit exceeded. - **500**: Internal server error. ```