Organization object.
Visit official API Doc
We can access your organization information by calling organization
method on the client object.
organization = client.organization
#=> #<Calendlyr::Organization>
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
organization.activity_logs
#=> #<Calendlyr::Collection @data=[#<Calendlyr::ActivityLog>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
organization.events
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Event>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
organization.event_types
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Event>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
organization.routing_forms
#=> #<Calendlyr::Collection @data=[#<Calendlyr::RoutingForm>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
organization.groups
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Group>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
organization.group_relationships
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Groups::Relationship>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
organization.memberships
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Organizations::Membership>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
organization.membership(uuid: uuid)
#=> #<Organizations::Membership>
For the example bellow we will use only required parameters, but you can use any other parameter as well.
organization.webhooks(scope: scope)
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Webhooks::Subscription>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
For the example bellow we will use only required parameters, but you can use any other parameter as well.
organization.create_webhook(url:, url, events: events, scope: scope)
#=> #<Calendlyr::Webhooks::Subscription>
For the example bellow we will use only required parameters, but you can use any other parameter as well.
organization.sample_webhook_data(event: event, scope: scope)
#=> #<Calendlyr::Object>
For the example bellow we will use only required parameters, but you can use any other parameter as well.
organization.invite_user(email: '[email protected]')
#=> #<Calendlyr::Organizations::Invitation>
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
organization.invitations
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Organizations::Invitation>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
For the example bellow we will use only required parameters, but you can use any other parameter as well.
organization.invitation(invitation_uuid: invitation_uuid)
#=> #<Calendlyr::Organizations::Invitation>
For the example bellow we will use only required parameters, but you can use any other parameter as well.
organization.revoke_invitation(invitation_uuid: invitation_uuid)
#=>