Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 1.05 KB

captured_email.md

File metadata and controls

68 lines (56 loc) · 1.05 KB

Captured Email

The captured email object is read only.

The captured email object

Attributes

Name Type Description
object string Is "captured_email".
email string
created integer
space object

Example

{
	"object": "captured_email",
	"email": "[email protected]",
	"created": 1410196557,
	"space": {
		"object": "space",
		"id": 1,
		"created": 1410196557,
		"url": "https://spaces.pe/s/EXAMPLE"
	}
}

List all captured emails

Returns a list of all captured emails.

Example request

curl https://spaces.com/api/v1/captured_emails \
	-u ACCESS_TOKEN:

Example response

{
	"object": "list",
	"count": 20,
	"has_more": true,
	"data": [
		{
			"object": "customer",
			"id": "CUSTOMER_TOKEN",
			"name": "John Doe",
			"email": "[email protected]",
			"created": 1410196557,
			"space": {
				"object": "space",
				"id": 1,
				"created": 1410196557,
				"url": "https://spaces.pe/s/EXAMPLE"
			}
		},
		{...}
	]
}