This method returns list of all from fields that are defined for this account.

(https://app.getresponse.com/account.html#my-emails)

Returns status code

200

Request url

/from-fields?perPage=10&page=4

Request params

Field nameField typeField description
queryhashUsed to search only resources that meets criteria. You can specify multiple parameters, then it uses AND logic.
KeyPossible values if fixed
name*
email*
fieldsstringList of fields that should be returned. Id is always returned. Fields should be separated by comma
sorthashEnable sorting using specified field (set as a key) and order (set as a value). You can specify multiple fields to sort by.
KeyPossible values if fixed
createdOnasc,desc
perPageintNumber results on page
pageintPage number

Example Response

[
    {
        "fromFieldId": "TTzW",
        "email": "jsmith@example.com",
        "name": "John Smith",
        "isActive": "true",
        "isDefault": "true",
        "createdOn": "2013-09-26T15:17:46+0000",
        "href": "http://api.getresponse.com/v3/from-fields/V"
    }
]

This method returns from field by fromfieldId.

(https://app.getresponse.com/account.html#my-emails)

Returns status code

200

Request url

/from-fields/TTzW?fields=email,name

Request params

Field nameField typeField description
fieldsstringList of fields that should be returned. Id is always returned. Fields should be separated by comma

Example Response

{
    "fromFieldId": "TTzW",
    "email": "jsmith@example.com",
    "name": "John Smith",
    "isActive": "true",
    "isDefault": "true",
    "createdOn": "2009-07-04T21:05:18+0000",
    "href": "http://api.getresponse.com/v3/from-fields/V"
}

This request will create new from-field

(https://app.getresponse.com/account.html#my-emails)

Returns status code

201

Example Request Body

{
    "email": "jsmith@example.com",
    "name": "John Smith"
}

Body params

Field nameField typeField description
emailstringEmail address
namestringName connected to email address

Example Response

{
    "fromFieldId": "V",
    "email": "jsmith@example.com",
    "name": "John Smith",
    "isActive": "true",
    "isDefault": "true",
    "createdOn": "2014-09-02T09:09:16+0000",
    "href": "http://api.getresponse.com/v3/from-fields/V"
}

This request removes fromField. You could pass new fromFieldId in the body of this request, and we will replace it in place if the removed one.

(https://app.getresponse.com/account.html#my-emails)

 

 

Returns status code

204

Example Request Body

{
    "fromFieldIdToReplaceWith": "2"
}

Body params

Field nameField typeField description
fromFieldIdToReplaceWithstringId of other from field, for all current usages of from field

Possible Errors


Returns status code

200

Example Response

{
    "fromFieldId": "V",
    "email": "jsmith@example.com",
    "name": "John Smith",
    "isActive": "true",
    "isDefault": "true",
    "createdOn": "2014-09-02T09:09:16+0000",
    "href": "http://api.getresponse.com/v3/from-fields/V"
}

Possible Errors