Create device key.
https://send-anywhere.com/web/v1/device?api_key={API_KEY}&profile_name={PROFILE_NAME}
| Parameters | |
|---|---|
| api_key | Your API key. |
| profile_name | Client device name. |
| Return Cookie | |
|---|---|
| device_key | Device unique key. |
Generate key for sending file.
| with Cookie | |
|---|---|
| device_key | Device unique key. |
- 200 OK
{
"key":"376019",
"weblink":"https://file.send-anywhere.com/api/webfile/123456"
}
| Return | |
|---|---|
| key | Generating key |
| weblink | Upload URL |
-
401 Invalid device key
-
409 Failed to generate key.
Generate key for sending file.
| with Cookie | |
|---|---|
| device_key | Device unique key. |
- 200 OK
{
"key":"376019",
"weblink":"https://file.send-anywhere.com/api/webfile/123456"
}
| Return | |
|---|---|
| key | Requested key |
| weblink | Upload URL |
-
401 Invalid device key
-
404 Invalid key