outbox.get(id)
curl --request GET \
--url https://api.paddock.build/v1/outbox/{outboxId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paddock.build/v1/outbox/{outboxId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.paddock.build/v1/outbox/{outboxId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paddock.build/v1/outbox/{outboxId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "<string>",
"connectorId": "<string>",
"key": "<string>",
"sessionId": "<string>",
"agentId": "<string>",
"turnId": "<string>",
"origin": {
"connectorId": "<string>",
"deliveryId": "<string>",
"position": 1
},
"text": "<string>",
"attachments": [
{
"name": "<string>",
"contentType": "<string>",
"size": 1
}
],
"status": "queued",
"externalId": "<string>",
"waitingFor": "<string>",
"error": {
"class": "retryable",
"code": "<string>",
"message": "<string>"
},
"progress": "<unknown>",
"attempts": 1,
"nextAttemptAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Outbox
outbox.get(id)
GET
/
outbox
/
{outboxId}
outbox.get(id)
curl --request GET \
--url https://api.paddock.build/v1/outbox/{outboxId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paddock.build/v1/outbox/{outboxId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.paddock.build/v1/outbox/{outboxId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paddock.build/v1/outbox/{outboxId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "<string>",
"connectorId": "<string>",
"key": "<string>",
"sessionId": "<string>",
"agentId": "<string>",
"turnId": "<string>",
"origin": {
"connectorId": "<string>",
"deliveryId": "<string>",
"position": 1
},
"text": "<string>",
"attachments": [
{
"name": "<string>",
"contentType": "<string>",
"size": 1
}
],
"status": "queued",
"externalId": "<string>",
"waitingFor": "<string>",
"error": {
"class": "retryable",
"code": "<string>",
"message": "<string>"
},
"progress": "<unknown>",
"attempts": 1,
"nextAttemptAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Path Parameters
Response
The outbox message