# Exchange points
You can exchange points for a specific user. It's an addition to the automatic rules, e.g. someone received a coupon from a different source and you want to keep them all updated in one place.`
POST
/point-exchange-rule/:id/exchange/
Attributes | Type | Required | Description |
---|---|---|---|
id | integer | yes | A unique identifier for the point acquire rule which is given by User.com |
user_id | integer | yes | A unique identifier for the user which is given by User.com automatically |
# Request
- CURL
- JavaScript
- PHP
- Python
curl --location --request POST 'https://<your_app_subdomain>.user.com/api/public/point-exchange-rule/1/exchange/' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <your_64_char_api_key>' \
--header 'Accept: */*; version=2' \
--data-raw '{ "user_id": "system_user_id" }'