Create customer token

POST

/public/v3/customers/{customer_id}/token

Creates new user token. You will use it in the Mobile SDKs

Parameters

ParameterData typeRequired?Description
customer_idstringyesCustomer ID

Query parameters

none

Request Body Parameters

none

Response Body Parameters

ParameterData typeRequired?Description
tokenstringyesCustomer Token. You will use this token in Mobile SDKs

Request example

1 2 3 curl --location --request POST 'https://api.friendlyscore.com/public/v3/customers/{customer_id}/token' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {access_token}'

Response example:

1 2 3 { "token": "1234" }

Was this article helpful?

Friendly Score UK Ltd.

52 Brook Street 1st Floor, Mayfair

London W1K 5DS

Call us on +44 20 3709 6726

Company registered in England

Company number 09168668, ICO ZA111687

VAT registration number 206 9758 80

Authorised and Regulated by the Financial Conduct Authority. (FRN: 781963)