« Back to Documentation Overviewadd_account_from_field
Section: Accounts
Version: 1.5.0
Get single email address assigned to account using FROM_FIELD_ID.
Parameters
|
---|
string | API_KEY |
object | string | name | My other other name | string | email | and.me.again@my-another-emailaddress.com |
|
Return Value
|
---|
string | FROM_FIELD_ID | abc123 |
integer | added | 1 |
Example Request JSON
[
"API_KEY",
{
"name": "My other other name",
"email": "and.me.again@my-another-emailaddress.com"
}
]
Example Response JSON
{
"FROM_FIELD_ID": "abc123",
"added": 1
}
Example Error Response JSON
{
"code": -1,
"message": "Invalid email syntax"
}
Method-specific Errors
|
---|
Invalid email syntax |
API-wide Errors
|
---|
API key verification failed
| API key verification failed |
API client IP not allowed
| API client IP not allowed |
Invalid params
| Attribute params must be reference to hash |