Skip to main content
POST
/
children
/
{childID}
/
standards
SDK (@phosra/sdk)
import { PhosraClient } from "@phosra/sdk";

const phosra = new PhosraClient({
  baseUrl: "https://phosra-api-sandbox-production.up.railway.app/api/v1",
  accessToken: process.env.PHOSRA_API_KEY,
});

const result = await phosra.standards.adopt("a11ce0fa-0000-4000-8000-0000000000a1", {
  standard_id: "2b1c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e"
});
console.log(result);
{
  "id": "6b2f8d04-9e17-4a35-8c60-1d9a7e3f0b52",
  "child_id": "ca02f5d1-fee8-4201-b5ca-fdc8be506e1e",
  "standard_id": "f0b3d7e2-6a94-4c81-b52f-9d0e1a3c6b48",
  "adopted_at": "2026-06-20T11:02:33Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

childID
string<uuid>
required

Body

application/json
standard_id
string<uuid>
required

Response

Standard adopted

id
string<uuid>

Unique identifier for this resource.

child_id
string<uuid>

Identifier of the child this resource belongs to.

standard_id
string<uuid>

Unique identifier (UUID) for the related resource.

adopted_at
string<date-time>

RFC 3339 timestamp.