# Rasayel API Documentation

This is the complete API documentation for connecting to the Rasayel API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Rasayel connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/rasayel/actions/{actionSlug}/run
```

## Rasayel actions

- PUT `assign-conversation` Assign Conversation
- PUT `assign-conversation-team` Assign Conversation Team
- POST `attachment-image-upload-from-url` Attachment Image Upload From URL
- POST `attachment-upload-from-url` Attachment Upload From URL
- POST `attachment-video-upload-from-url` Attachment Video Upload From URL
- POST `create-channel-user` Create Channel User
- POST `create-gif-message` Create GIF Message
- POST `create-media-message` Create Media Message
- POST `create-note-message` Create Note Message
- POST `create-proactive-text-message` Create Proactive Text Message
- POST `create-rich-message` Create Rich Message
- POST `create-template-message` Create Template Message
- POST `create-text-message` Create Text Message
- GET `get-app` Get App
- GET `graph-ql-query` GraphQL Query
- PUT `set-conversation-state` Set Conversation State
- PUT `snooze-conversation` Snooze Conversation
- PUT `tag-channel-user` Tag Channel User
- PUT `tag-channel-user-by-tag-id` Tag Channel User By Tag ID
- PUT `tag-conversation` Tag Conversation
- PUT `tag-conversation-by-tag-id` Tag Conversation By Tag ID
- PUT `unsnooze-conversation` Unsnooze Conversation
- PUT `untag-channel-user` Untag Channel User
- PUT `untag-conversation` Untag Conversation
- PUT `update-channel-user` Update Channel User
- PUT `update-channel-user-bool-attribute` Update Channel User Bool Attribute
- PUT `update-channel-user-date-attribute` Update Channel User Date Attribute
- PUT `update-channel-user-decimal-attribute` Update Channel User Decimal Attribute
- PUT `update-channel-user-identifier` Update Channel User Identifier
- PUT `update-channel-user-number-attribute` Update Channel User Number Attribute
- PUT `update-channel-user-select-attribute` Update Channel User Select Attribute
- PUT `update-channel-user-text-attribute` Update Channel User Text Attribute
