Use Apica API to ingest JSON data
This guide will allow you to create your own JSON ingestion to your Apica environment.
Pre-Requisites
Ingest Token (Generating a secure ingest token)
Domain name (mydomain.apica.io)
Request
Endpoint
POST https://mydomain.apica.io/v1/json_batchHeader
Authorization: Bearer ${IngestToken}Request Body
Json Example 1
[
{
"namespace":"my-test",
"application":"my-awesome-app",
"message":"This is a test message"
}
]Json Example 2
[
{
"namespace":"joakim-test",
"application":"joakims-awesome-app",
"message":{
"host":"localhost",
"ip":"127.0.0.1",
"port":"443",
"message":"This is a test message"
}
}
]Json Example 3
Result (User-Interface)
Using Json Example 1, this is how the results look like in your environment

Response
Example response 1
Example response 2
Last updated
Was this helpful?