Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v75
Login
  • User API documentation
  • API interaction
  • Matching
  • Profiles
  • Databases
  • Resources
  • Segments
  • Suppression lists
  • Templates and fragments
  • Campaigns
  • Mailings
  • Automation scenarios
  • Loyalty Programs
    • Get profile tier in a loyalty program
    • Export points transactions
    • Expiring points for a period
    • Get profile account transactions
    • Get trigger promotions list
    • Accrue points to a member
    • Redeem member points
    • Commit temporary transaction
    • Roll back temporary transaction
    • Cancel points transaction
    • Get points account balance
    • Register member in a loyalty program
    • Remove member from loyalty program
  • Promo codes
  • Goals
  • Application push notifications
  • Market
  • Analytic reports
  • SendersDev
  • External datatables queries
  • Objects
  • Miscellaneous
  • Importing the API collection in Postman
  • List of API endpoints
  • SDK
  • Loyalty Programs
  • Register member in a loyalty program
Documentation for version v75

Register member in a loyalty program

Description​

Registers a member in a loyalty program. Before registration, the profile is searched in the database using the specified matching method (email, phone number, profile ID, or a custom field).

Request URL​

Method: POST

https://example.com/api/v1.1/loyalty/register_member

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abc123def456"YesAPI token
loyalty_program_idint123YesLoyalty program ID
matchingstring"email"YesProfile lookup method: email, phone, profile_id, custom
registration_datestring"2024-09-01T12:34:56Z"NoRegistration date in RFC3339 format; if omitted, the current time is used
emailstring"user@example.com"Yes, if matching = emailMember email used to find the profile
phonestring"+1234567890"Yes, if matching = phoneMember phone number in international format
profile_idstring"profile123"Yes, if matching = profile_idProfile ID
field_namestring"user_id"Yes, if matching = customCustom field name for lookup
field_valuestring / int"123456"Yes, if matching = customCustom field value

Request example​

  • JSON
  • XML
{
"token": "abc123def456",
"loyalty_program_id": 123,
"matching": "email",
"email": "user@example.com",
"registration_date": "2024-09-01T12:34:56Z"
}
<xml>
<token>abc123def456</token>
<loyalty_program_id>123</loyalty_program_id>
<matching>email</matching>
<email>user@example.com</email>
<registration_date>2024-09-01T12:34:56Z</registration_date>
</xml>

Response example​

  • JSON
  • XML
{
"error": 0,
"error_text": "Successful operation",
"profile_id": "123456"
}
<xml>
<error>0</error>
<error_text>Successful operation</error_text>
<profile_id>123456</profile_id>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
profile_idstringID of the profile registered in the loyalty program
Last updated on Nov 14, 2025
Previous
Get points account balance
Next
Remove member from loyalty program
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.