2.6 Hyper Post

The HyperPost endpoint generates customized social media posts based on parameters like post type, hashtags, emojis, and character limits. It checks user credits before processing.

Method: POST

https://sdk.hypergpt.ai/hyperPost

Headers:

Bearer Token

new_user_token

Parameters:

  • Query (str): The text query provided by the user for generating the post.

  • post_type (str): The type of post to generate. Valid options are:

    • "Twitter Post"

    • "Twitter Flood"

    • "Twitter Poll"

    • "Twitter Ads"

    • "Facebook Post"

    • "Facebook Flood"

    • "Facebook Poll"

    • "Facebook Ads"

    • "Instagram Post"

    • "Instagram Flood"

    • "Instagram Poll"

    • "Instagram Ads"

    • "Telegram Post"

    • "Telegram Poll"

    • "Email"

  • hashtags (bool): Whether to include hashtags in the post.

  • emojies (bool): Whether to include emojis in the post.

  • clickbate (bool): Whether to include clickbait elements in the post.

  • seo (bool): Whether to optimize the post for SEO.

  • maxCharacter (int): The maximum character limit for the post.

Example Params:

Query

HyperGPT

post_type

Twitter Post

hashtags

true

emojies

true

clickbate

true

seo

true

maxCharacter

200

Example Request:

Example Response (Success):

Example Response (Error):

This endpoint allows users to generate social media posts tailored to specific platforms and parameters, ensuring they meet the user's requirements and constraints. It validates the user's token, checks their credits, and logs the API usage. If the user has enough credits, the post is generated and returned; otherwise, an error message is returned.

Last updated