Restore an agent connection
curl --request POST \
--url https://app.egma.ai/v1/agents/{agentId}/connections/{connectionId}/restore \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"connection": {
"id": "<string>",
"agentId": "<string>",
"projectId": "<string>",
"name": "<string>",
"agentPlatform": "retell",
"connectionType": "retell_chat_api",
"accessVariant": "retell_chat_api.api_key",
"modality": "voice",
"productLabel": "<string>",
"topology": "agent-dials-out",
"environment": "<string>",
"config": {},
"credentialPresent": true,
"credentialsHint": "<string>",
"archived": true,
"archivedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Connections
Restore an agent connection
POST
/
v1
/
agents
/
{agentId}
/
connections
/
{connectionId}
/
restore
Restore an agent connection
curl --request POST \
--url https://app.egma.ai/v1/agents/{agentId}/connections/{connectionId}/restore \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"connection": {
"id": "<string>",
"agentId": "<string>",
"projectId": "<string>",
"name": "<string>",
"agentPlatform": "retell",
"connectionType": "retell_chat_api",
"accessVariant": "retell_chat_api.api_key",
"modality": "voice",
"productLabel": "<string>",
"topology": "agent-dials-out",
"environment": "<string>",
"config": {},
"credentialPresent": true,
"credentialsHint": "<string>",
"archived": true,
"archivedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Authorizations
bearerAuthsessionCookie
An Egma API key.
Path Parameters
Minimum string length:
1Minimum string length:
1Query Parameters
Project to act in. A project-scoped API key already identifies its project.
Minimum string length:
1Response
The restored connection.
Show child attributes
Show child attributes