Paginated inbound RTB request list
GET
/api/v1/inbound-rtb/requests
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://external-api.moja-ai.com/api/v1/inbound-rtb/requests?start_date=example&end_date=example&limit=20&offset=0"), Headers = { { "X-API-Key", "<X-API-Key>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}package main
import ( "fmt" "net/http" "io")
func main() {
url := "https://external-api.moja-ai.com/api/v1/inbound-rtb/requests?start_date=example&end_date=example&limit=20&offset=0"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<X-API-Key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(res) fmt.Println(string(body))
}const url = 'https://external-api.moja-ai.com/api/v1/inbound-rtb/requests?start_date=example&end_date=example&limit=20&offset=0';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://external-api.moja-ai.com/api/v1/inbound-rtb/requests?start_date=example&end_date=example&limit=20&offset=0' \ --header 'X-API-Key: <X-API-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”start_date
required
Start Date
Start of date range filter on irr.created_at.
string
Start of date range filter on irr.created_at.
end_date
required
End Date
End of date range filter on irr.created_at.
string
End of date range filter on irr.created_at.
sort
limit
Limit
integer
offset
Offset
integer
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
InboundRtbRequestsListResponse
object
data
required
Data
Array<object>
InboundRtbRequestListRowobject
key
additional properties
any
Examplegenerated
{ "data": [ { "request_id": "example", "inbound_rtb_id": "example", "created_at": "2026-04-15T12:00:00Z", "caller_id": "example", "total_routes": 1, "eligible_routes_count": 1, "call_log_id": "example", "duration": 1, "error": "example", "publisher_payout": 1, "target_number": "example", "buyer_id": "example", "campaign_id": "example", "campaign_name": "example", "publisher_id": "example", "publisher_name": "example", "buyer_name": "example" } ], "meta": { "limit": 1, "offset": 1, "count": 1, "total": 1, "has_more": true, "next_offset": 1, "previous_offset": 1 }}Bad Request
Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{ "detail": { "code": "example", "message": "example" }}Unauthorized
Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{ "detail": { "code": "example", "message": "example" }}Not Found
Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{ "detail": { "code": "example", "message": "example" }}Conflict
Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{ "detail": { "code": "example", "message": "example" }}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}Too Many Requests
Media typeapplication/json
ErrorResponse
object
detail
required
ErrorBody
object
code
required
Code
string
message
required
Message
string
Examplegenerated
{ "detail": { "code": "example", "message": "example" }}
