theme
Slapbot
PAID
By ConflictGames
Updated a year ago

Slapbot API Documentation

The Slapbots provides fun, short text-based one-liners. It includes Slap Jokes, Hairline Jokes, Tongue Twisters, “I Appreciate you like…” phrases and “I ♥ you more than…” phrases. All One-liners that anyone can use and modify as their own. The Slap Jokes, Hairline Jokes, Tongue Twisters are all hella funny, but the “Appreciation Phrases” and “Love Phrases” are really sweet and will make the heart melt. Slapbots provide unique and original content written by professional British and English comedians and writers. This API offers wide-variety of amusing and engaging material. We hope slapbots can enhance apps everywhere by delivering irresistible entertain and delight.

Learn more about this API
GET/Hairline
GET/MetadataSearch
GET/Suggest
PUT/Metricsuse
PUT/MetricsFav
GET/Twister
Main Phrases Endpoints
GET/Slap
GET/love
GET/Appreciate
Metadata Endpoints
GET/tags
GET/ProductList
Metrics
PUT/MetricsDis
PUT/Metricslik
GET/tags

The tags end point provides hashtags that are linked to Phrases. •For example, the following hashtags are linked to slap descriptions. #JustBecauseSlap #PottyMouthSlap #SexySlap, #SlapbotFight

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
allowedpackagesSTRING
REQUIREDA Package is the highest category of products offered by the API. Everything offered by the ConflictAPI is firstly organized into a package. Specifying values against the allowedPackages parameter means that all search results must include tags linked to specified Package(s) and will exclude any tags that are not linked to the specified Package (s). The values provided when using this parameter must be equal to a value in the Search Metadata Dictionary. for the full list of acceptable Packages, use the MetadataSearch Endpoint with allowedProducts as the lookup value.
Optional Parameters
allowedProductsSTRING
OPTIONALSpecifying values against the allowedProducts parameter means that all search results must include tags within the specified Product(s) and will exclude any descriptions that do not contain the specified Product(s). This parameter must be equal to a value in the Search Metadata Dictionary. •Example: To search for tags which are a linked to the Slaps product append &allowedProducts=Slaps
allowedcollectionsSTRING
OPTIONALWhat are Collections: Collections are subcategories of the Product Category. Most tags are not within a collection, in these cases, the collection will be listed as “” (empty string). Specifying a Collection against the allowedCollections parameter means that all search results must include tags with the specified Collection (s) and will exclude any tags that do not contain the specified Collection(s). • Example: To search for tags which include both Power and Finesse append&allowedCollections=Power,Finesse
allowedGenresSTRING
OPTIONALSpecifying a Genre against the allowedGenres parameter means that all search Results must include tags with the specified Genre(s) and will exclude any tags that do not contain the specified Genre(s). This parameter must be set equal to a searchValue in the Search Metadata Dictionary.• Example: To search for tags which include both R-rated and PG-Rated in commas between each value: allowedGenres=R,PG
maxRecordsSTRING
OPTIONALSpecifying a MaxRecords against the MaxRecords parameter will increase the number of rows returned by the Call to the value presented. Where the values can be any positive number less than or equal to 50. The default value is 1. • Example: To return 10 tags, append &MaxRecords=10
qSTRING
OPTIONALperforms and returns the results of a generic search. With use space to separate words (url-encoded as either + or %20). Where the values provided may be found in the Slap Descriptions. •Example: To search for slaps containing the words “grilled cheese” append &q= grilled+cheese or q= grilled%20cheese
IdSTRING
OPTIONALis a number which uniquely identifies a description. This parameter allows you to store and retrieve tags specific to the content ID you specified. The ID parameter cannot be repeated more than once. When submitting this endpoint this is NOT the id of the returning tags, but the ID of the description which are looking for associating tags. •Example: To search for tags linked to description id of 2428 append &id=2428
PackIdNUMBER
OPTIONALIs a number which uniquely identifies a Package. This parameter allows you to store and retrieve tags specific to the PackID you specified. The packID parameter can be repeated more than once. •Example: To search for tags linked to a package 4 via Packid, simply add & packid= 4 to the end point.
productIdSTRING
OPTIONALproductId is a number which uniquely identifies a product. This parameter allows you to store and retrieve specific tags linked to a product(s). Example: To search for Descriptions with ids, 13,23 and append & productid id=1,23
activeOnlySTRING
OPTIONAL
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication