---
title: "Get a one-time url to render the FriendlyScore WebComponent"
method: POST
path: "/public/v3/component_auth/init"
tags: ["10. Web Component"]
---

# Get a one-time url to render the FriendlyScore WebComponent

`POST /public/v3/component_auth/init`

## Request body

- ComponentInitRequest
  - `ip` string, required
  - `user_agent` string, required
  - `user_reference` string
  - `origin` string, required

## Response `200`

Returns `ComponentInitResponse` with one time url

## Other responses

- `400` — JSON with validation errors e.g. not using user_reference in a phoneless flow or vice versa, * missing required fields

---

[API](https://skmtc.dev/friendlyscore/apis/friendlyscore-public-api.md) · [All operations](https://skmtc.dev/friendlyscore/apis/friendlyscore-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/friendlyscore/friendlyscore-public-api/revisions/454887c48f5e/schema)
