Gigs

Create a Gig

POST https://api.cirro.io/v2/gigs

Parameters

ParameterTypeNote
titlerequiredstring
descriptionrequiredstring
urlrequiredstring
start_atrequirednumberUNIX timestamp
end_atrequirednumberUNIX timestamp
archive_atnumberUNIX timestamp
total_seatsrequirednumber
seats_minnumberDefault: 1
seats_maxnumberDefault: 1
invitation_moderequiredenumOne of auto, manual
invitation_multipliernumberDefault: 10
invitation_frequencynumberDefault: 5
filter_queryrequiredobject
sort_queryobjectDefault: {}
tasksrequiredarray
notification_payloadobjectDefault: {}
invitation_notification_topicstring | numbereither the name or the id of the topic
epam_optionsobjectDefault: {}

Example

1client = CirroIOV2::Client.new(...)
2client.Gig.create(
3  title: "My Gig",
4  description: "My Gig Description",
5  url: "https://www.example.com",
6  start_at: 1621965600,
7  end_at: 1621969200,
8  total_seats: 10,
9  invitation_mode: "auto",
10  filter_query: {
11    "status": "active",
12    "segment": "my_favorite_testers"
13  },
14  tasks: [
15    { "title": "Ah, Wilderness!", "base_price": 300 }
16  ]
17)
Previous
About Gigs