user.signup
This method allows your API application to signup a new Scribd user. If the signup is successful, your application will be passed back a session key which will allow you to execute methods on behalf of the new user.
Parameters
| Name | Type | Description |
|---|
| username | string | (required)
The username of the user to signup.
|
| password | string | (required)
The password for the new user account
|
| email | string | (required)
The email address of the user. Please ensure that this address is valid to comply with US Copyright Law.
|
| name | string | (optional)
The real name of the user
|
| api_key | string | (required)
API key assigned to your account.
|
| api_sig | string | (optional)
MD5 hash of the active request and your secret key. This is an optional security measure. See the signing documentation for more info.
|
Sample return XML
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok">
<session_key>sess-lzkme201lzm12xc</session_key>
<user_id>31415</user_id>
<username>emc2</username>
<name>Albert Einstein</name>
</rsp>
Result explanation
| Name | Type | Description |
|---|
| session_key | string |
The session_key is a string uniquely associated with this user and your API account. You can use the session key with most of the methods of the API to upload, delete, etc. documents as the user you signed in as.
|
| name | string |
The name of the user who just got signed in
|
| username | string |
The username of the user who just got signed in
|
| user_id | integer |
Every user on Scribd has a user ID. You can use this user ID to link to the profile of a user or for a number of other pages on Scribd which take it as a parameter.
|
Error codes
| 401 | Unauthorized |
| 500 | Internal Server Error. Scribd has been notified about this problem. |
| 601 | Required parameter missing |
| 615 | Username already taken |
| 616 | User with that email address already exists |
| 628 | Invalid email address |
Back to Platform API Reference