For the complete documentation index, see llms.txt. This page is also available as Markdown.

Post

Create a new member

Parameters:

Name

Optional / Required

Data type

Description

Default

username

required

String

min. 2 characters, max. 50 characters, allowed characters a-z, 0-9, dot (.), @, hyphen (-) and underscore (_)

password

required

String

The value must be transmitted as md5

comment

optional

String

min. 4 characters, max. 50 characters

access_tags

optional

String

One or multiple access_tag ids (myid1 or myid1,myid2)

kiosks

optional

String

One or multiple kiosk ids (webkiosk_123 or webkiosk_123,appkiosk_456), values must start with webkiosk_ or appkiosk_

Demo

URL Find your token on - yumpu.com Token

username password

Optional parameters:

comment access_tags kiosks

Add optional parametersRun request

Example:

curl -X POST -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" -d "username=user8" -d "password=f5bd63761dfd505514a7c94501825441" -d "comment=user8" -d "access_tags=zxeeYReHnxeg8RqZ" "https://api.yumpu.com/2.0/account/member.json"

Example:

require_once('../yumpu.php');
$yumpu = new Yumpu();
$data = array(
    'username' => 'user8',
    'password' => 'f5bd63761dfd505514a7c94501825441',
    'comment' => 'user8',
    'access_tags' => 'zxeeYReHnxeg8RqZ'
);
$postMember = $yumpu->postMember($data);
print_r($postMember);

Example:

var yumpu = require('yumpu');
yumpu.setToken('yourToken');
var parameters = {
  username: 'user7',
  password: 'f5bd63761dfd505514a7c94501825441',
  comment: 'user8',
  access_tags: 'zxeeYReHnxeg8RqZ'
};
yumpu.postMember(parameters, function(statusCode, document){
   console.log('Status: ' + statusCode);
   console.log(document);
});

Example:

Whatever language you are using, the result will be the same.

Last updated