Logos
Logos are an essential part of Elwood Cloud.
Image
This endpoint allows you to get a high resolution logo for any domain
Required parameters
- Name
domain
- Type
- string
- Description
Domain name to find a logo for
Optional query parameters
- Name
width
- Type
- integer
- Description
Width of the image
- Name
height
- Type
- integer
- Description
Height of the image
- Name
retina
- Type
- boolean
- Description
Return the image at 2x pixel density
- Name
grayscale
- Type
- boolean
- Description
Return the logo in grayscale
Request
<img src="https://api.elwood.cloud/image/elwood.cloud/logo.png" alt="Logo for elwood cloud" />
Response
{
"has_more": false,
"data": [
{
"id": "xgQQXg3hrtjh7AvZ",
"contact_id": "WAz8eIbvDR60rouK",
"group_id": null,
"pinned_message_id": null,
"is_pinned": false,
"is_muted": false,
"last_active_at": 705103200,
"last_opened_at": 705103200,
"created_at": 692233200,
"archived_at": null
},
{
"id": "hSIhXBhNe8X1d8Et"
// ...
}
]
}
Rest
This endpoint allows you to add a new conversation between you and a contact or group. A contact or group id is required to create a conversation.
Required attributes
- Name
domain
- Type
- string
- Description
Domain name
Request
curl https://api.elwood.cloud/api/elwood.cloud/logo \
-H "Authorization: Bearer {secretKey}"
Response
{
"canonicalUrl": "https://elwood.cloud/logo.png",
"url": "https://api.elwood.cloud/logo/elwood.cloud/logo.png?size=500"
}
Model
The conversation model contains all the information about the conversations between you and your contacts. In addition, conversations can also be group-based with more than one contact, they can have a pinned message, and they can be muted.
Properties
- Name
id
- Type
- string
- Description
Unique identifier for the conversation.
- Name
contact_id
- Type
- string
- Description
Unique identifier for the other contact in the conversation.
- Name
group_id
- Type
- string
- Description
Unique identifier for the group that the conversation belongs to.
- Name
pinned_message_id
- Type
- string
- Description
Unique identifier for the pinned message.
- Name
is_pinned
- Type
- boolean
- Description
Whether or not the conversation has been pinned.
- Name
is_muted
- Type
- boolean
- Description
Whether or not the conversation has been muted.
- Name
last_active_at
- Type
- timestamp
- Description
Timestamp of when the conversation was last active.
- Name
last_opened_at
- Type
- timestamp
- Description
Timestamp of when the conversation was last opened by the authenticated user.
- Name
created_at
- Type
- timestamp
- Description
Timestamp of when the conversation was created.
- Name
archived_at
- Type
- timestamp
- Description
Timestamp of when the conversation was archived.