curl 'https://api.sendops.dev/v1/workflows/00000000-0000-0000-0000-000000000000/exits' \
-H "Authorization: Bearer $SENDOPS_API_KEY " const res = await fetch ( "https://api.sendops.dev/v1/workflows/00000000-0000-0000-0000-000000000000/exits" , {
method: "GET" ,
headers: {
Authorization: `Bearer ${ process . env . SENDOPS_API_KEY }`
},
});
const body = await res. json (); import os, requests
r = requests.get( "https://api.sendops.dev/v1/workflows/00000000-0000-0000-0000-000000000000/exits" , headers = { "Authorization" : f "Bearer { os.environ[ 'SENDOPS_API_KEY' ] } " })
print (r.json()) 200 401 403 404 429 500
application/json {
"outcomes" : [
{
"event_type" : "string" ,
"exit_kind" : "string" ,
"exit_name" : "string" ,
"count" : 0
}
]
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
} {
"type" : "https://example.com" ,
"title" : "string" ,
"status" : 0 ,
"detail" : "string" ,
"code" : "invalid_key" ,
"request_id" : "string" ,
"retry_after" : 0 ,
"retention_days" : 0 ,
"scope" : "string" ,
"resource" : "string" ,
"errors" : [
{
"field" : "string" ,
"reason" : "string"
}
]
}