The Fluid Company APIs provide a comprehensive set of APIs designed to integrate Fluid's powerful services into your applications seamlessly. These APIs use Company API tokens for authentication and provide full access to manage your company's resources including users, orders, products, media, and more.
For APIs that authenticate with User tokens, see the Rep APIs documentation.
Add a new event for the company with details like title, dates, location, and optional media content.
Bodyapplication/jsonrequired
eventobject(Event3)required
Example: {"title":"Type Race","description":"Fluid Type Racing Game. Winner gets all expenses paid 1 month vacation trip to Bali.","start_date":"2024-03-28","end_date":"2024-04-01","start_time":"9:56:0","end_time":"19:56:0","time_zone":"Asia/Kathmandu","url":"https://google.com","active":true,"venue":"Pokhara","available_countries":["us","in","fin"],"images_attributes":[{"image_url":"https://images.furnituredealer.net/img/products/liberty_furniture/color/double%20bridge--816253672_152-cd-gts-b6.jpg","position":1},{"image_url":"https://images.furnituredealer.net/img/products/steve_silver/color/david-1172854226_di100c-b1.jpg"}]}
event.titlestringrequired
Example: "Type Race"
event.descriptionstringrequired
Example: "Fluid Type Racing Game. Winner gets all expenses paid 1 month vacation trip to Bali."
event.start_datestringrequired
Example: "2024-03-28"
event.end_datestringrequired
Example: "2024-04-01"
event.start_timestringrequired
Example: "9:56:0"
event.end_timestringrequired
Example: "19:56:0"
event.time_zonestringrequired
Example: "Asia/Kathmandu"
event.urlstringrequired
Example: "https://google.com"
event.activebooleanrequired
Example: true
event.venuestringrequired
Example: "Pokhara"
event.available_countriesArray of stringsrequired
Example: ["us","in","fin"]
event.images_attributesArray of objects(ImagesAttribute)required
Retrieves a list of events associated with the company.
Mock server https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events
Production server with company subdomain https://myco.fluid.app/api/company/events
Local development server http://fluid.lvh.me:3000/api/company/events
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl-i-X GET \
https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events
Responses
Headers
Content-Typestring
The content type of the response
Example: "application/json"
Content-Lengthstring
The length of the response content in bytes
Example: "981"
X-Request-Idstring
A unique identifier for the request
Example: "b1b7bf86-146e-4c66-b4c6-ac6f0f9ddafa"
Update Company Event
Request
Updates the details of a specific company event
Path
eventIdintegerrequired
The unique identifier of the event to update
Bodyapplication/jsonrequired
eventobject(Event4)required
Example: {"title":"Type Race","description":"Fluid Type Racing Game. Winner gets all expense paid 1 month vacation trip to Bali. The winner will also get the salary/wages for the vacation month.","available_countries":["npl","us"]}
event.titlestringrequired
Example: "Type Race"
event.descriptionstringrequired
Example: "Fluid Type Racing Game. Winner gets all expense paid 1 month vacation trip to Bali. The winner will also get the salary/wages for the vacation month."
event.available_countriesArray of stringsrequired
Example: ["npl","us"]
Mock server https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events/{eventId}
Production server with company subdomain https://myco.fluid.app/api/company/events/{eventId}
Local development server http://fluid.lvh.me:3000/api/company/events/{eventId}
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl-i-X PATCH \'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events/{eventId}'\-H'Content-Type: application/json'\-d'{
"event": {
"title": "Type Race",
"description": "Fluid Type Racing Game. Winner gets all expense paid 1 month vacation trip to Bali. The winner will also get the salary/wages for the vacation month.",
"available_countries": [
"npl",
"us"
]
}
}'
Responses
Headers
Content-Typestring
The content type of the response
Example: "application/json"
Content-Lengthstring
The length of the response content in bytes
Example: "981"
X-Request-Idstring
A unique identifier for the request
Example: "b1b7bf86-146e-4c66-b4c6-ac6f0f9ddafa"
Get Company Event Details
Request
Retrieves the details of a specific event for a company.
Path
eventIdintegerrequired
The unique identifier of the company event
Mock server https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events/{eventId}
Production server with company subdomain https://myco.fluid.app/api/company/events/{eventId}
Local development server http://fluid.lvh.me:3000/api/company/events/{eventId}
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl-i-X GET \'https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events/{eventId}'
Responses
Headers
Content-Typestring
The content type of the response
Example: "application/json"
Content-Lengthstring
The length of the response content in bytes
Example: "981"
X-Request-Idstring
A unique identifier for the request
Example: "b1b7bf86-146e-4c66-b4c6-ac6f0f9ddafa"
Delete Company Event
Request
Deletes a specific event associated with the company.
Path
eventIdintegerrequired
The unique identifier of the event to delete
Mock server https://docs.fluid.app/_mock/docs/apis/company.api/api/company/events/{eventId}
Production server with company subdomain https://myco.fluid.app/api/company/events/{eventId}
Local development server http://fluid.lvh.me:3000/api/company/events/{eventId}
Social Media