08. Invitation
Post new invitation
Changed onpost/public/v3/invitations
Request
- Base URLhttps://api.friendlyscore.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
Request body
Example request
{
"customer_type": "Individual",
"last_name": "John",
"first_name": "Doe",
"company_name": "Example INC.",
"email": "john.doe@example.com",
"phone": "+44123456789",
"reference": "123-123-123"
}Response
Returns CustomerInvitation
Example response
{
"id": "12345",
"customer_type": "Individual",
"last_name": "Doe",
"first_name": "John",
"company_name": "Example INC.",
"email": "example@example.com",
"phone": "+44123456789",
"reference": "some-reference-id",
"created_at": "1553077496",
"revoked_at": "1553077496",
"used_at": "1553077496",
"url": "https://friendlyscore.com/invitation/123456789abcdef"
}Changes
- info
endpoint added
- info