Skip to main content
POST
/
batch
cURL
curl --request POST \
  --url https://api.osohq.com/api/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "inserts": [
      {
        "predicate": "<string>",
        "args": [
          {
            "type": "<string>",
            "id": "<string>"
          }
        ]
      }
    ]
  }
]'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Requires an API key to access. Signup at https://ui.osohq.com/

Body

application/json · object[]
  • Option 1
  • Option 2
inserts
object[]
required

Response

message
string
required