Create User

Create new user inside your channel, you can pass this parameters:

  • email → Email user to register (mandatory)
  • password → Password user to register
  • name → Name user
  • surname → Surname user

In response you will get:

  • status → Status of request
  • message → Detail of action
  • email → Email of user created
  • id_user → Unique identifier of user

Manage Group

Manage groups on users:

  • id_user→ Identifier user to manage (mandatory if no email passed)
  • email→ Email user to manage (mandatory if no id_user passed)
  • groups→ Group or Groups separated by commas
  • action → Action to perform (add or remove)

In response you will get:

  • status → Status of request
  • action → Detail of action
  • id_user → Unique identifier of user
  • old_group_list → Groups attached to user before change
  • new_group_list → Groups attached to user after change
  • groups_modified → Groups modified in the call

Manage Subscription

Manage subscriptions on users:

  • id_user→ Identifier user to manage (mandatory if no email passed)
  • email→ Email user to manage (mandatory if no id_user passed)
  • id_content→ Id content to subscribe/unsubscribe
  • price→ Price payed from user
  • action → Action to perform (cancel, active)
  • mode → Type of subscription (subs, fixed)
  • coupon → Coupon used from user
  • plan → Plan type (m=monthly, f=fixed, y=yearly)
  • code → Identifier subscription on your payment provider
  • id_payment → Id subscription on our system

In response you will get:

  • status → Status of request
  • action → Detail of action
  • id_payment → Unique identifier of subscription
  • id_user → User on which you’ve performed the action
  • id_content → Content on which you’ve performed the action