10. Web Component

Get a one-time url to render the FriendlyScore WebComponent

post/public/v3/component_auth/init

Request body

ipstring required
user_agentstring required
user_referencestring
originstring required

Example request

{
  "ip": "1.2.3.4",
  "user_agent": "Mozilla/5.0 (X11; Linux AMD64; rv:70.0.0) Gecko/20100101 Firefox/70.0.0",
  "user_reference": "my-user-1234",
  "origin": "https://example.com"
}

Response

Returns ComponentInitResponse with one time url

Changes

No recorded changes to this endpoint across all 1 revision of this API.