Step 3: Create Customer Token
POST
/public/v3/customers/{customer_id}/token
Creates new customer token. You will use it for authentication.
Parameter | Data type | Required? | Description |
---|---|---|---|
customer_id | string | yes | Customer ID |
none
none
Parameter | Data type | Required? | Description |
---|---|---|---|
token | string | yes | Customer Token. You will use this token in authentication header for several API endpoints and Mobile SDK |
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}'
1
2
3
{
"token": "1234"
}
Was this article helpful?
Friendly Score UK Ltd.
84 Brook Street
London W1K 5EH
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: 821100, 781963)