Check-in registered guests to workshops

PUT https://api.zenoti.com/v1/workshops/{workshop_id}/registrations/{registration_id}/sign_in

Use this API to check-in registered guests to your workshops.

You must specify the workshop_id and the registration_id to check-in the guests.

Before you begin

Permission: Manage API Keys (on the Administrator security object) — Required to access Zenoti APIs.

Endpoint

PUT /v1/workshops/{workshop_id}/registrations/{registration_id}/sign_in

Base URL: https://api.zenoti.com

Request

Headers

Header Required Description
Authorization Yes bearer {{access_token}}

Path parameters

Parameter Type Required Description
workshop_id integer (int64) Yes Identifier of a workshop.
registration_id integer (int64) Yes Identifier of a class registration.

Request body

Field Type Required Description
session_id string Yes Unique identifier of the workshop session.

Response

Success (200 OK)

{
  "error": {}
}

Response fields

Field Type Description
error object

Example

curl --request PUT \
  --url 'https://api.zenoti.com/v1/workshops/{workshop_id}/registrations/{registration_id}/sign_in' \
  --header 'Authorization: bearer {{access_token}}' \
  --header 'Content-Type: application/json' \
  --data '{
  "session_id": "string"
}'
const response = await fetch('https://api.zenoti.com/v1/workshops/{workshop_id}/registrations/{registration_id}/sign_in', {
  method: 'PUT',
  headers: {
    'Authorization': 'bearer {{access_token}}',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ session_id: 'string' })
});
const data = await response.json();
import requests

response = requests.put(
    'https://api.zenoti.com/v1/workshops/{workshop_id}/registrations/{registration_id}/sign_in',
    headers={
        'Authorization': 'bearer {{access_token}}',
    },
    json={'session_id': 'string'}
)
data = response.json()
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "bearer {{access_token}}");
var content = new StringContent(
    JsonSerializer.Serialize(new { session_id = "string" }),
    Encoding.UTF8, "application/json");
var response = await client.PutAsync(
    "https://api.zenoti.com/v1/workshops/{workshop_id}/registrations/{registration_id}/sign_in", content);
var data = await response.Content.ReadAsStringAsync();
require 'net/http'
require 'json'

uri = URI('https://api.zenoti.com/v1/workshops/{workshop_id}/registrations/{registration_id}/sign_in')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Put.new(uri)
request['Authorization'] = 'bearer {{access_token}}'
request['Content-Type'] = 'application/json'
request.body = { session_id: 'string' }.to_json
response = http.request(request)
data = JSON.parse(response.body)

Error codes

Status Description
400 400
401 Unauthorized -- invalid or expired access token
429 Too many requests -- rate limit exceeded