NAiOS IconNAiOS Logo
Volver al catálogo

Reddit

reddit

Reddit is a social news platform with user-driven communities (subreddits), offering content sharing, discussions, and viral marketing opportunities for brands

Acciones
10
Triggers
0
Autenticación
OAuth gestionado
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (10)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create a Reddit postREDDIT_CREATE_REDDIT_POSTAcción

Creates a new text or link post on a specified, existing reddit subreddit, optionally applying a flair.

Parámetros de entrada

  • urlstring

    The URL for a 'link' post. Required if `kind` is 'link'.

  • kindstringObligatorioenum

    The type of the post. Use 'self' for a text-based post or 'link' for a post that links to an external URL.

    linkself
  • textstring

    The markdown-formatted text content for a 'self' post. Required if `kind` is 'self'.

  • titlestringObligatorio

    The title of the post. Must be 300 characters or less.

  • flair_idstringObligatorio

    The ID of the flair to apply to the post. Use the 'REDDIT_GET_USER_FLAIR' action to find available flair IDs for the specified subreddit.

  • subredditstringObligatorio

    The name of the subreddit (without the 'r/' prefix) where the post will be submitted.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Reddit commentREDDIT_DELETE_REDDIT_COMMENTAcción

Deletes a reddit comment, identified by its fullname id, if it was authored by the authenticated user.

Parámetros de entrada

  • idstringObligatorio

    The full 'thing ID' (fullname, e.g., 't1_c0s4w1c') of the comment to delete; typically starts with 't1_'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a Reddit postREDDIT_DELETE_REDDIT_POSTAcción

Permanently deletes a reddit post by its id, provided the authenticated user has deletion permissions for that post.

Parámetros de entrada

  • idstringObligatorio

    The full name (fullname) of the Reddit post to be deleted. This ID must start with 't3_' followed by the post's unique base36 identifier.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit comment or postREDDIT_EDIT_REDDIT_COMMENT_OR_POSTAcción

Edits the body text of the authenticated user's own existing comment or self-post on reddit; cannot edit link posts or titles.

Parámetros de entrada

  • textstringObligatorio

    The new raw markdown text for the body of the comment or self-post.

  • thing_idstringObligatorio

    The full name (fullname) of the comment or self-post to edit. This is a combination of a prefix (e.g., 't1_' for comment, 't3_' for post) and the item's ID.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get link flairREDDIT_GET_USER_FLAIRAcción

Fetches the list of available link flairs (i.e., post flairs, not user flairs) for a given subreddit.

Parámetros de entrada

  • subredditstringObligatorio

    Name of the subreddit (e.g., 'pics', 'gaming') for which to retrieve available link flairs.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Post a commentREDDIT_POST_REDDIT_COMMENTAcción

Posts a comment on reddit, replying to an existing and accessible submission (post) or another comment.

Parámetros de entrada

  • textstringObligatorio

    The raw Markdown text of the comment to be submitted.

  • thing_idstringObligatorio

    The ID of the parent post (link) or comment, prefixed with 't3_' for a post (e.g., 't3_10omtdx') or 't1_' for a comment (e.g., 't1_h2g9w8l').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve Comments for a PostREDDIT_RETRIEVE_POST_COMMENTSAcción

Retrieves all comments for a reddit post given its article id (which must be for an existing, public post); nested replies within comments are returned as raw dictionaries requiring parsing.

Parámetros de entrada

  • articlestringObligatorio

    Base-36 ID of the Reddit post (e.g., 'q5u7q5'), typically found in the post's URL and not including the 't3_' prefix.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve posts from subredditREDDIT_RETRIEVE_REDDIT_POSTAcción

Retrieves the current hot posts from a specified, publicly accessible subreddit.

Parámetros de entrada

  • sizeinteger

    The maximum number of posts to return. Default is 5. Set to 0 to retrieve all available posts (or the maximum allowed by the Reddit API for a single request, typically up to 100 for this type of listing).

  • subredditstringObligatorio

    The name of the subreddit from which to retrieve posts (e.g., 'popular', 'pics'). Do not include 'r/'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve specific comment or postREDDIT_RETRIEVE_SPECIFIC_COMMENTAcción

Retrieves detailed information for a specific reddit comment or post using its fullname.

Parámetros de entrada

  • idstringObligatorio

    Fullname of the comment or post to retrieve (e.g., 't1_c123456', 't3_x56789').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search across subredditsREDDIT_SEARCH_ACROSS_SUBREDDITSAcción

Searches reddit for content (e.g., posts, comments) using a query, with results typically confined to subreddits unless `restrict sr` is set to false.

Parámetros de entrada

  • sortstringenum

    The criterion for sorting search results. 'relevance' (default) sorts by relevance to the query. 'new' sorts by newest first. 'top' sorts by highest score (typically all-time). 'comments' sorts by the number of comments.

    relevancenewtopcomments
  • limitinteger

    The maximum number of search results to return. Default is 5. Maximum allowed value is 100.

  • restrict_srboolean

    If True (default), confines the search to posts and comments within subreddits. If False, the search scope is broader and may include matching subreddit names or other Reddit entities.

  • search_querystringObligatorio

    The search query string used to find content across subreddits.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not