get organization
Uses current user permissions and the credential's selected studio. Safe explicit fields only.
get organization
GET /api/v1/organization
Uses current user permissions and the credential's selected studio. Safe explicit fields only.
API version: 1.0.0; source revision: development; SHA-256: 48cf3a12f6c45a2618345f604165f68f7efcee3648a8b923ccd02ef716aa8a9e.
Group: Scheduling.
Required permissions: ["organization:read"].
Authentication: Authorization: Bearer <user-owned-api-key>.
Parameters
Request examples
[
{
"name": "selected",
"request": {
"query": {}
}
}
]curl
curl --request GET \
--header 'Authorization: Bearer <user-owned-api-key>' \
"$TATTOOL_API_URL/api/v1/organization"Responses
200
Authorized result. Media type: application/json
datadata.clientPolicydata.clientPolicy.requiresEmaildata.iddata.namedata.openingHoursdata.timeZone
Schema and constraints:
{
"properties": {
"data": {
"description": "Authorized safe result.",
"properties": {
"clientPolicy": {
"description": "clientPolicy",
"properties": {
"requiresEmail": {
"description": "Effective studio policy for creating clients or clearing an existing email; obtain an email before writing when true.",
"type": "boolean"
}
},
"required": [
"requiresEmail"
],
"type": "object"
},
"id": {
"description": "Stable record ID.",
"type": "string"
},
"name": {
"description": "Display name.",
"type": "string"
},
"openingHours": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"properties": {
"close": {
"description": "Local closing time in HH:mm.",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"on": {
"description": "Whether this weekday is open.",
"type": "boolean"
},
"open": {
"description": "Local opening time in HH:mm.",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"required": [
"on"
],
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"description": "Configured studio working hours, or null if missing."
},
"timeZone": {
"description": "IANA time zone.",
"maxLength": 50,
"type": "string"
}
},
"required": [
"id",
"name",
"timeZone",
"openingHours",
"clientPolicy"
],
"type": "object"
}
},
"required": [
"data"
],
"type": "object"
}Synthetic example:
{
"data": {
"clientPolicy": {
"requiresEmail": true
},
"id": "studio-example",
"name": "Example studio",
"openingHours": null,
"timeZone": "Europe/Copenhagen"
}
}401
Authentication is required. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "UNAUTHENTICATED",
"message": "Authentication is required.",
"retryable": false
}
}403
Access denied. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "FORBIDDEN",
"message": "Access denied.",
"retryable": false
}
}404
Record not found. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "NOT_FOUND",
"message": "Record not found.",
"retryable": false
}
}409
The operation conflicts with the current state. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "CONFLICT",
"message": "The operation conflicts with the current state.",
"reason": "DOMAIN_CONFLICT",
"retryable": false
}
}422
Invalid operation input. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "INVALID_INPUT",
"message": "Invalid operation input.",
"retryable": false
}
}429
Request limit reached. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "RATE_LIMITED",
"message": "Request limit reached.",
"retryable": true,
"retryAfterSeconds": 60
}
}503
The provider is unavailable. Media type: application/json
errorerror.codeerror.fieldErrorserror.messageerror.operationIderror.reasonerror.retryableerror.retryAfterSeconds
Schema and constraints:
{
"properties": {
"error": {
"properties": {
"code": {
"description": "Stable safe failure code.",
"enum": [
"INVALID_INPUT",
"UNAUTHENTICATED",
"FORBIDDEN",
"NOT_FOUND",
"CONFLICT",
"RATE_LIMITED",
"CAPABILITY_UNAVAILABLE",
"PROVIDER_UNAVAILABLE"
],
"type": "string"
},
"fieldErrors": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"description": "Safe field-level validation details.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"message": {
"description": "Fixed public failure message, without provider or private details.",
"type": "string"
},
"operationId": {
"description": "Original domain recovery operation ID when available.",
"type": "string"
},
"reason": {
"description": "Safe conflict or availability category; stale versions must not trigger an automatic overwrite.",
"enum": [
"STALE_VERSION",
"EDIT_SESSION_EXPIRED",
"IDEMPOTENCY_MISMATCH",
"DOMAIN_CONFLICT",
"SLOT_UNAVAILABLE",
"INCOMPLETE_AVAILABILITY",
"MISSING_OPENING_HOURS"
],
"type": "string"
},
"retryable": {
"description": "Whether the same logical request may safely resume; never permission for blind provider resubmission.",
"type": "boolean"
},
"retryAfterSeconds": {
"description": "Seconds before retry or reconciliation.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
}
},
"required": [
"code",
"message",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}Synthetic example:
{
"error": {
"code": "PROVIDER_UNAVAILABLE",
"message": "The provider is unavailable.",
"retryable": false
}
}