---
updatedAt: 2026-04-23T11:53:21.000Z
agentTools:
  projectIndex: https://developers.smartrecruiters.com/llms.txt
---

# Creates automated self schedule.

Creates automated self schedule.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Self Scheduling API",
    "description": "Self Scheduling Api",
    "contact": {
      "name": "SmartRecruiters",
      "url": "https://developers.smartrecruiters.com"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.smartrecruiters.com/self-scheduling"
    }
  ],
  "paths": {
    "/automated-self-schedules": {
      "post": {
        "tags": [
          "self-schedules"
        ],
        "summary": "Creates automated self schedule.",
        "description": "Creates automated self schedule.",
        "operationId": "automatedSelfScheduling",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicAutomatedSelfScheduleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "When automated self schedule was created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicAutomatedSelfScheduleResponse"
                }
              }
            }
          },
          "400": {
            "description": "Not enough interviewers assigned",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicAutomatedSelfScheduleResponse"
                }
              }
            }
          },
          "422": {
            "description": "Not existing application UUID provided",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicAutomatedSelfScheduleResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth": [
              "self_schedules_manage"
            ]
          },
          {
            "key": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "PublicAutomatedSelfScheduleResponse": {
        "required": [
          "selfScheduleId"
        ],
        "type": "object",
        "properties": {
          "selfScheduleId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "BaseResult": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "httpCode": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "enum": [
              "VALIDATION_ERROR",
              "ILLEGAL_ARGUMENT",
              "PROPERTY_REQUIRED",
              "PROPERTY_INVALID",
              "VALUE_INVALID",
              "RESOURCE_ALREADY_EXIST",
              "RESOURCE_FORBIDDEN",
              "RESOURCE_CONFLICT",
              "NOT_AUTHORIZED_TO_ACCESS_RESOURCE",
              "RESOURCE_NOT_FOUND",
              "RESOURCE_INVALID_STATE",
              "INTERNAL_ERROR",
              "MARSHALLING_ERROR",
              "UNMARSHALLING_ERROR",
              "UNAUTHORIZED",
              "BAD_REQUEST",
              "OFFER_LIMIT_EXCEEDED",
              "PRICE_DOES_NOT_MATCH",
              "METHOD_NOT_ALLOWED",
              "NOT_ACCEPTABLE",
              "MALWARE_DETECTED"
            ]
          },
          "violationCode": {
            "type": "string",
            "deprecated": true
          },
          "message": {
            "type": "string"
          },
          "helpUrl": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "resultData": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "violations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Violation"
            }
          },
          "genericError": {
            "$ref": "#/components/schemas/GenericError"
          },
          "errorRootCause": {
            "$ref": "#/components/schemas/ErrorRootCause"
          }
        }
      },
      "ErrorRootCause": {
        "type": "object",
        "properties": {
          "httpCode": {
            "type": "integer",
            "format": "int32"
          },
          "applicationName": {
            "type": "string"
          }
        }
      },
      "GenericError": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "exposed": {
            "type": "boolean"
          },
          "errorCode": {
            "type": "string"
          },
          "errorContext": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "Violation": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "helpUrl": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "resultData": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PublicAutomatedSelfScheduleRequest": {
        "required": [
          "applicationUuid"
        ],
        "type": "object",
        "properties": {
          "applicationUuid": {
            "type": "string",
            "format": "uuid"
          }
        }
      }
    },
    "securitySchemes": {
      "key": {
        "type": "apiKey",
        "name": "x-smarttoken",
        "in": "header"
      },
      "oauth": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://api.smartrecruiters.com/identity/oauth/token",
            "scopes": {
              "self_schedules_read": "Get self schedules",
              "self_schedules_manage": "Manage self schedules"
            }
          },
          "authorizationCode": {
            "authorizationUrl": "https://www.smartrecruiters.com/identity/oauth/allow",
            "tokenUrl": "https://api.smartrecruiters.com/identity/oauth/token",
            "scopes": {
              "self_schedules_read": "Get self schedules",
              "self_schedules_manage": "Manage self schedules"
            }
          }
        }
      }
    }
  }
}
```