API ReferenceapiintegrationsPOST /v1/rimo/webhooks/consult-outcome

POST /v1/rimo/webhooks/consult-outcome

Service: integrations · operationId: (none)

Required scopes

(no scope declared — review service config)

Responses

202 Consult outcome accepted

{
  "type": "object",
  "properties": {
    "received": {
      "type": "boolean",
      "enum": [
        true
      ]
    },
    "consultation_id": {
      "type": "string"
    },
    "outcome": {
      "type": "string",
      "enum": [
        "approved",
        "declined",
        "needs_more_info"
      ]
    }
  },
  "required": [
    "received",
    "consultation_id",
    "outcome"
  ]
}

400 Invalid or non-consultation webhook payload

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

401 Webhook signature missing or invalid

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

412 Webhook timestamp stale or receiver misconfigured

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

500 Event publication failed

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

Example

curl -X POST https://integrations.platform.loop.health/v1/rimo/webhooks/consult-outcome \
  -H "Authorization: Bearer $ACCESS_TOKEN"