/flowevents/context
Get allowed values, defaults and availability
Returns every allowed value for event status, format, structure, booking mode, participant status, role, certification status, room type and item kind, the field types of feedback forms including the limits of the star rating, the possible send and export kinds, the team's saved signature defaults, and whether FlowAccounting is reachable for this team.
Bearer pk_… or at_…
curl -X GET "https://api.flowsuite.one/flowevents/context" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://api.flowsuite.one/flowevents/context');
$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowevents/context', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://api.flowsuite.one/flowevents/context',
headers=headers,
)
data = response.json()
{
"success": true,
"data": {
"event_statuses": [
"draft",
"active",
"cancelled",
"closed"
],
"event_formats": [
"offline",
"online"
],
"participant_statuses": [
"registered",
"confirmed",
"waitlisted",
"cancelled"
],
"room_types": [
"single",
"double",
"multi"
],
"price_item_kinds": [
"accommodation",
"catering",
"room_fee",
"other"
],
"feedback_field_types": [
"text",
"textarea",
"select",
"checkbox",
"radio",
"rating",
"section_heading",
"paragraph"
],
"signature_defaults": {
"enabled": true,
"text": "Hiermit bestätige ich meine Teilnahme."
},
"accounting_available": true,
"pagination": {
"default_per_page": 50,
"max_per_page": 200
}
}
}