Toronto Real Estate Expert
Toronto Real Estate Expert · GPT 작업
Contacts API
POST /contactsCreate a new contactCreates a new contact for a user.
원본 API 스키마
{
"openapi": "3.0.0",
"info": {
"title": "Contacts API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://gptstory.ai",
"description": "Production server"
}
],
"paths": {
"/contacts": {
"post": {
"summary": "Create a new contact",
"description": "Creates a new contact for a user.",
"operationId": "create_contact",
"x-openai-isConsequential": false,
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"contact": {
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"description": "Email address of the contact."
}
},
"required": [
"email"
]
}
},
"required": [
"contact"
]
}
}
}
},
"responses": {
"200": {
"description": "Contact created successfully."
},
"400": {
"description": "Bad request due to incorrect parameters."
}
}
}
}
}
}