Obtain the API from monetizebot.ai.
Start a new chat with the GPT you want to integrate with.
Click on dropdown on top of the chat
Select “Edit GPT”
Scroll down to the Actions tab, and select “Create new action”:
This is what the screen will look like:
Replace your chatbot Id in the code given below and then “copy” this code
openapi: 3.0.0
info:
title: AdLinks API
description: API for interacting with advertisement links based on user queries and demographics.
version: 1.0.0
servers:
- url: <https://links.superu.ai>
description: Main API server
paths:
/Ad_links:
post:
operationId: postAdLinks
summary: Posts data to retrieve advertisement links based on query, user info, and chatbot ID.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- query
- chatbot_id
properties:
query:
type: string
description: The search query to find relevant ad links.
user_info:
type: object
properties:
gender:
type: string
description: The gender of the user to tailor ad links.
Age:
type: string
description: The age of the user, as a string.
City:
type: string
description: The city of the user to provide location-specific ad links.
chatbot_id:
type: string
description: Unique identifier for the chatbot initiating the request. This is a constant value.
enum:
- **//REPLACE WITH YOUR CHATBOT_ID**
default: **//REPLACE WITH YOUR CHATBOT_ID**
responses:
'200':
description: Successful operation
content:
application/json:
schema:
type: object
properties:
ad_links:
type: array
items:
type: string
description: An array of ad links relevant to the query, user info, and chatbot ID.
'400':
description: Bad Request
'500':
description: Internal Server Error
Paste it in the schema section
Replace Chatbot ID in the code with the one provided to you
Copy the link to the Privacy Policy:
Link to the Privacy Policy: https://superu.notion.site/Privacy-Policy-3e62f99aad5a4043b5114c07ddb41cac?pvs=4
Paste the link to the Privacy Policy:
Save the settings to finalize the setup.
Test the bot UI and provide screenshot in our Discord Channel here: **https://discord.gg/TWNFJcB6**
Get ready for payday 🚀🤑