Request Body
The request body should be a JSON object that adheres to the following TypeScript type:Field Explanations
title(string): The title of the new source.externalId(string): The original external ID of the source, if applicable. This is used to prevent duplicates if the same source is posted twice.service(enum): The type of the source. Possible values are:xzendesklineargoogledocyoutubeslackemailtwitterfacebookredditfileplay_storeapp_storespreadsheettelegramdiscordimessagecustom
quotes(array of objects): An array of quote objects. Each quote object contains:text(string): The text of the quote/comment.speaker(string, optional): The speaker of the quote/comment. Either provide speaker or username, they are treated the same.username(string, optional): The username associated with the quote/comment. Either provide speaker or username, they are treated the same.externalId(string, optional): The original external ID of the quote/comment, if applicable. This is used to prevent duplicates if the same quote is posted twice.createdAt(string, optional): The creation date of the quote/comment in ISO 8601 format.replyingTo(string, optional): The ID of the quote/comment being replied to, if applicable.upVotes(number, optional): The number of upvotes or likes the quote/comment received.downVotes(number, optional): The number of downvotes or dislikes the quote/comment received.score(number, optional): The score of the quote/comment. (upVotes - downVotes)
channelName(string, optional): The name of the channel or subreddit.channelId(string, optional): The ID of the channel or subreddit.description(string, optional): A brief description of the new source.createdAt(string, optional): The creation date of the source in ISO 8601 format.url(string, optional): The URL of the source, if applicable.upVotes(number, optional): The number of upvotes or likes the source received.downVotes(number, optional): The number of downvotes or dislikes the source received.score(number, optional): The score of the source. (upVotes - downVotes)
Service Types
Theservice field accepts the following enum values (string):
xzendesklineargoogledocyoutubeslackemailtwitterfacebookredditfileplay_storeapp_storespreadsheettelegramdiscordimessagecustom
Responses
200 OK: Successfully received and processed the request. Returns details of the created or updated source.400 Bad Request: The request was invalid. Returns an error specifying what was wrong.403 Forbidden: API key missing or invalid.500 Internal Server Error: An error occurred on the server.

