# Automatic Callback

Manage Automatic Callback settings.

## Retrieve automatic callback settings

> Retrieve automatic callback settings.<br>

```json
{"openapi":"3.1.0","info":{"title":"PortSIP PBX Rest API","version":"22.0"},"tags":[{"name":"Automatic Callback","description":"Manage Automatic Callback settings.\n"}],"servers":[{"url":"{protocol}://{hostname}:{port}/api","variables":{"protocol":{"description":"Self-hosted Enterprise Server protocol.","default":"https"},"hostname":{"description":"Self-hosted Enterprise Server hostname.","default":"HOSTNAME"},"port":{"description":"Self-hosted Enterprise Server port.","default":"8887"}}}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"paths":{"/acb":{"get":{"tags":["Automatic Callback"],"operationId":"getAutomaticCallbackSettings","summary":"Retrieve automatic callback settings","description":"Retrieve automatic callback settings.\n","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"extension_number":{"allOf":[{"type":"string","minLength":3,"maxLength":64,"pattern":"[0-9]{3,64}","description":"The extension number.\n"}],"description":"The extension number of automatic callback service.\n"},"language":{"type":"string","description":"BCP 47 Language Tags (The Internet Best Current Practices (BCP) for language tags).\nA language tag is composed of a sequence of one or more subtags such as language, region, variant and script subtags.\nWhen a language tag is comprised of more than one subtag, the subtag values are separated by the \"-\" character.\nYou will most commonly find language tags written with 2 subtags - language and region. For example: en-US.\n"},"retry_interval":{"type":"integer","format":"int32","minimum":0,"default":5,"description":"Retry originator minutes.\nThe amount of time to wait before re-trying a busy automatic callback originator.\n"},"retry_total_time":{"type":"integer","format":"int32","minimum":0,"default":30,"description":"Monitor Minutes.\nThe amount of time to camp-out on the busy line, waiting for it to become idle.\n"}}}}}},"4XX":{"description":"Error"}}}}}}
```

## Update automatic callback settings

> Update automatic callback settings<br>

```json
{"openapi":"3.1.0","info":{"title":"PortSIP PBX Rest API","version":"22.0"},"tags":[{"name":"Automatic Callback","description":"Manage Automatic Callback settings.\n"}],"servers":[{"url":"{protocol}://{hostname}:{port}/api","variables":{"protocol":{"description":"Self-hosted Enterprise Server protocol.","default":"https"},"hostname":{"description":"Self-hosted Enterprise Server hostname.","default":"HOSTNAME"},"port":{"description":"Self-hosted Enterprise Server port.","default":"8887"}}}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"paths":{"/acb":{"post":{"tags":["Automatic Callback"],"operationId":"updateAutomaticCallbackSettings","summary":"Update automatic callback settings","description":"Update automatic callback settings\n","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"extension_number":{"allOf":[{"type":"string","minLength":3,"maxLength":64,"pattern":"[0-9]{3,64}","description":"The extension number.\n"}],"description":"The extension number of automatic callback service.\n"},"language":{"type":"string","description":"BCP 47 Language Tags (The Internet Best Current Practices (BCP) for language tags).\nA language tag is composed of a sequence of one or more subtags such as language, region, variant and script subtags.\nWhen a language tag is comprised of more than one subtag, the subtag values are separated by the \"-\" character.\nYou will most commonly find language tags written with 2 subtags - language and region. For example: en-US.\n"},"retry_interval":{"type":"integer","format":"int32","minimum":0,"default":5,"description":"Retry originator minutes.\nThe amount of time to wait before re-trying a busy automatic callback originator.\n"},"retry_total_time":{"type":"integer","format":"int32","minimum":0,"default":30,"description":"Monitor Minutes.\nThe amount of time to camp-out on the busy line, waiting for it to become idle.\n"}}}}}},"responses":{"200":{"description":"OK"},"4XX":{"description":"Error"}}}}}}
```
