« Back to Documentation Overview

add_account_from_field

Section: Accounts
Version: 1.5.0


Get single email address assigned to account using FROM_FIELD_ID.


Parameters
stringAPI_KEY
object
stringnameMy other other name
stringemailand.me.again@my-another-emailaddress.com
Return Value
stringFROM_FIELD_IDabc123
integeradded1

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