# Create Assistant

## The Assistant object

```json
{"openapi":"3.0.3","info":{"title":"TeloAI API","version":"1.0.0"},"components":{"schemas":{"Assistant":{"type":"object","properties":{"title":{"type":"string","description":"Assistant title"},"firstMessage":{"type":"string","description":"First message to be played to the customer"},"endCallMessage":{"type":"string","description":"Message to be played when the call ends"},"AssistantInstructions":{"type":"string","description":"Instructions for the assistant"},"voiceId":{"type":"string","description":"Voice ID"},"language":{"type":"string","description":"Language"},"dynamicVariables":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"timezone":{"type":"string"}},"required":["title","firstMessage","endCallMessage","AssistantInstructions","voiceId","language"]}}}}
```

## Create Assistant

> Provision a new assistant resource.

```json
{"openapi":"3.0.3","info":{"title":"TeloAI API","version":"1.0.0"},"servers":[{"url":"https://api.teloai.app"}],"paths":{"/api/assistant":{"post":{"tags":["Assistants"],"summary":"Create Assistant","description":"Provision a new assistant resource.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAssistantRequest"}}}},"responses":{"201":{"description":"Assistant created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Assistant"}}}}}}}},"components":{"schemas":{"CreateAssistantRequest":{"type":"object","properties":{"title":{"type":"string"},"AssistantInstructions":{"type":"string"},"firstSentence":{"type":"string"},"lastSentence":{"type":"string"},"voiceId":{"type":"string"},"language":{"type":"string"},"timezone":{"type":"string"},"dynamicVars":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}}},"required":["title","AssistantInstructions","firstSentence","lastSentence","voiceId","language"]},"Assistant":{"type":"object","properties":{"title":{"type":"string","description":"Assistant title"},"firstMessage":{"type":"string","description":"First message to be played to the customer"},"endCallMessage":{"type":"string","description":"Message to be played when the call ends"},"AssistantInstructions":{"type":"string","description":"Instructions for the assistant"},"voiceId":{"type":"string","description":"Voice ID"},"language":{"type":"string","description":"Language"},"dynamicVariables":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"timezone":{"type":"string"}},"required":["title","firstMessage","endCallMessage","AssistantInstructions","voiceId","language"]}}}}
```
