How to use Account integration
Account Integration
Introduction
The Account Linking API is a function that allows you to display the name and e-mail address of a user of your service as non-editable items on any managed reservation page.
Built-in sample code
Account linking requests the specified URL using the HTTP POST method.
The teamId and eventTypeId must be included in the URL parameters.
Javascript example
const teamId = 'example_team';
const eventTypeId = 'xxxxx';
const url = 'https://api.jicoo.com/v1/teams/' + teamId + '/event_types/' + eventTypeId + '/validate';
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json', Accept: 'application/json'},
body: '{"name":"yamada taro","email":"example@example.com"}'
};
const response = await fetch(url, options);
const { data } = await response.json();
window.location.href = data.url;
Integration Image
Detailed API documentation is available here.
Account Integration
Last modified: a year ago