Subscriber

ManyChat's API /fb/subscriber/ namespace structure wrapper
extends ManyChat\API\NamedAPIStructure
Methods Summary
public
# getInfo( int $subscriber_id )
Gets information about the subscriber by its ID

see

public
public
# getInfoByUserRef( int $user_ref )
Gets information about the subscriber by user_ref

see

public
# findByCustomField( int $field_id , string|int|null $field_value )
public
# addTag( int $subscriber_id , int $tag_id )
Adds tag by its ID to the subscriber

see

public
# addTagByName( int $subscriber_id , string $tag_name )
public
# removeTag( int $subscriber_id , int $tag_id )
Removes tag by its ID from the subscriber

see

public
# removeTagByName( int $subscriber_id , string $tag_name )
Removes tag by its name from the subscriber

see

public
# setCustomField( int $subscriber_id , int $field_id , string|int|null $field_value )
Sets custom field value by its ID to the subscriber

see

public
# setCustomFieldByName( int $subscriber_id , string $field_name , string|int|null $field_value )
Sets custom field value by its name to the subscriber

see

public
# verifyBySignedRequest( int $subscriber_id , string $signed_request )
public
# createSubscriber( bool $has_opt_in_sms , bool $has_opt_in_email , string $consent_phrase , string $phone , string $email , string $first_name = NULL, string $last_name = NULL, string $gender = NULL )
Create new subscriber `phone` or `email` fields is required field `consent_phrase` is required only if has_opt_in is true

see

Methods inherited from ManyChat\API\NamedAPIStructure
__construct()
Methods inherited from ManyChat\API\APIStructure
__construct(), __get(), __set(), __isset(), getName(), setName(), getApi(), setApi(), getParent(), setParent(), getMethodAddress(), __call()