Receives batched logs from integration applications.

POST {{baseUrl}}/integrations/logs

This endpoint receives batched logs from integration applications on partner platforms. Note: If you're interested in joining the beta, please reach out to your Pinterest account manager.

Request Body

{"logs"=>[{"client_timestamp"=>"<integer>", "event_type"=>"API", "log_level"=>"INFO", "external_business_id"=>"<string>", "advertiser_id"=>"<string>", "merchant_id"=>"<string>", "tag_id"=>"<string>", "feed_profile_id"=>"<string>", "message"=>"<string>", "app_version_number"=>"<string>", "platform_version_number"=>"<string>", "error"=>{"cause"=>"<string>", "column_number"=>"<integer>", "file_name"=>"<string>", "line_number"=>"<integer>", "message"=>"<string>", "message_detail"=>"<string>", "name"=>"<string>", "number"=>"<integer>", "stack_trace"=>"<string>"}, "request"=>{"method"=>"GET", "host"=>"<string>", "path"=>"<string>", "request_headers"=>{"ea_178"=>"<string>", "sint_0"=>"<string>", "culpa2"=>"<string>"}, "response_headers"=>{"quis_3a4"=>"<string>", "velit_e4"=>"<string>", "reprehenderit_3b"=>"<string>"}, "response_status_code"=>"<integer>"}}, {"client_timestamp"=>"<integer>", "event_type"=>"API", "log_level"=>"INFO", "external_business_id"=>"<string>", "advertiser_id"=>"<string>", "merchant_id"=>"<string>", "tag_id"=>"<string>", "feed_profile_id"=>"<string>", "message"=>"<string>", "app_version_number"=>"<string>", "platform_version_number"=>"<string>", "error"=>{"cause"=>"<string>", "column_number"=>"<integer>", "file_name"=>"<string>", "line_number"=>"<integer>", "message"=>"<string>", "message_detail"=>"<string>", "name"=>"<string>", "number"=>"<integer>", "stack_trace"=>"<string>"}, "request"=>{"method"=>"CONNECT", "host"=>"<string>", "path"=>"<string>", "request_headers"=>{"eu_2a5"=>"<string>", "Ute"=>"<string>"}, "response_headers"=>{"amet66"=>"<string>", "id_58"=>"<string>", "labore6d"=>"<string>"}, "response_status_code"=>"<integer>"}}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;message&quot;:&quot;\u003cstring\u003e&quot;}