Certifyos · Schema
AddStateToCredentialResponse
Outcome of adding a flag's state to the practitioner's states to credential
CompanyHealthcareProvider DataCredentialingLicensingPayer EnrollmentPrimary Source VerificationProvider Network ManagementRoster ManagementCompliance MonitoringHealthcare APIWebhook
Properties
| Name | Type | Description |
|---|---|---|
| status | string | SUCCESS | PARTIAL_SUCCESS | FAILED |
| states | array | State(s) actioned — the flag's single metaData.state, or for a compact-license flag, the reviewer's validated selection |
| statesResult | object | Practitioner states-to-credential write outcome |
| flagResult | object | Flag move-to-seen outcome; attempted=false when skipped |
| monitoringWorkflowResult | object | Monitoring workflow update outcome; attempted=false when skipped |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-add-state-to-credential-response-schema.json",
"title": "AddStateToCredentialResponse",
"description": "Outcome of adding a flag's state to the practitioner's states to credential",
"x-generated": "2026-10-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/certifyos-flag-api-openapi.yml#/components/schemas/AddStateToCredentialResponse",
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "SUCCESS | PARTIAL_SUCCESS | FAILED"
},
"states": {
"type": "array",
"items": {
"type": "string"
},
"description": "State(s) actioned — the flag's single metaData.state, or for a compact-license flag, the reviewer's validated selection"
},
"statesResult": {
"$ref": "#/$defs/StatesResult",
"type": "object",
"description": "Practitioner states-to-credential write outcome"
},
"flagResult": {
"$ref": "#/$defs/FlagResult",
"type": "object",
"description": "Flag move-to-seen outcome; attempted=false when skipped"
},
"monitoringWorkflowResult": {
"$ref": "#/$defs/WorkflowResult",
"type": "object",
"description": "Monitoring workflow update outcome; attempted=false when skipped"
}
},
"$defs": {
"FlagResult": {
"type": "object",
"description": "Flag move-to-seen outcome",
"properties": {
"attempted": {
"type": "boolean",
"description": "Whether the move was attempted"
},
"ok": {
"type": "boolean",
"description": "Whether the flag was moved"
},
"flagId": {
"type": "string",
"description": "The flag id"
},
"status": {
"type": "string",
"description": "The resulting status, when moved"
},
"noteRecorded": {
"type": [
"boolean",
"null"
],
"description": "Only when the status is not moved and a note was due (outreachInProgress; a Seen compact flag that added states): whether the note was stored on the flag history; null otherwise"
}
}
},
"StatesResult": {
"type": "object",
"description": "Practitioner states-to-credential write outcome",
"properties": {
"attempted": {
"type": "boolean",
"description": "Whether the write was attempted"
},
"ok": {
"type": "boolean",
"description": "Whether the state is now on the practitioner"
},
"added": {
"type": "array",
"items": {
"type": "string"
},
"description": "States actually appended"
},
"resulting": {
"type": "array",
"items": {
"type": "string"
},
"description": "States to credential afterwards; empty, never null"
},
"slicesUpdated": {
"type": "integer",
"format": "int32",
"description": "Contributing slices written (0 or 1)"
},
"alreadyPresent": {
"type": "boolean",
"description": "The state was already present; nothing written"
},
"detail": {
"type": "string",
"description": "Failure detail when ok is false"
}
}
},
"WorkflowResult": {
"type": "object",
"description": "Monitoring workflow update outcome",
"properties": {
"attempted": {
"type": "boolean",
"description": "Whether the update was attempted"
},
"ok": {
"type": "boolean",
"description": "Whether the write and recalculation both succeeded"
},
"workflowId": {
"type": "string",
"description": "The workflow updated, or null when none is active"
},
"sectionsReevaluated": {
"type": "array",
"items": {
"type": "string"
},
"description": "Flag sections recalculated"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/certifyos-add-state-to-credential-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.