Easy2257
API Reference

Register Publication

POST /api/v1/collab-scenes/{sceneId}/publications — Register a content URL after greenlight.

SHA-256 is required. Compute a SHA-256 hex digest of the content file and pass it as depictionSha256. This is required by 28 CFR 75.2(f) for record integrity verification.

POST
/api/v1/collab-scenes/{sceneId}/publications

Authorization

BearerAuth
AuthorizationBearer <token>

Partner API key. Use ez_test_ prefix for sandbox, ez_live_ for production.

In: header

Path Parameters

sceneId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://easy2257.com/api/v1/collab-scenes/cs_xyz789/publications" \  -H "Content-Type: application/json" \  -d '{    "contentUrl": "https://your-platform.com/post/12345",    "depictionSha256": "a3f5b2c1d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1"  }'
{
  "id": "pub_abc123",
  "collabSceneId": "string",
  "contentUrl": "http://example.com",
  "publishedAt": "2019-08-24T14:15:22Z"
}
{
  "error": "externalUserId is required",
  "code": "missing_parameter"
}
{
  "error": "externalUserId is required",
  "code": "missing_parameter"
}
{
  "error": "externalUserId is required",
  "code": "missing_parameter"
}
{
  "error": "externalUserId is required",
  "code": "missing_parameter"
}
{
  "error": "externalUserId is required",
  "code": "missing_parameter"
}
{
  "error": "externalUserId is required",
  "code": "missing_parameter"
}