Error
A valid request URL is required to generate request examples{
"status": "success",
"message": "Operation completed successfully"
}{
"status": "error",
"message": "Database connection failed"
}{
"status": "error",
"message": "Database connection failed"
}Contacts
Create contact (mobile)
Allows a mobile app user to create a new contact for a specific assistant, or globally for all connected assistants. The mobile app user’s token is passed in the body.
POST
/
create-contact-mobile
Error
A valid request URL is required to generate request examples{
"status": "success",
"message": "Operation completed successfully"
}{
"status": "error",
"message": "Database connection failed"
}{
"status": "error",
"message": "Database connection failed"
}Body
application/json
JWT Access Token of the mobile app user.
Example:
"eyJ..."
ID of the assistant user this contact belongs to.
Example:
101
Example:
"Emergency Contact"
Example:
"+34600112233"
Example:
"http://example.com/contact_image.jpg"
If true, adds the contact to all assistants connected to the mobile user.
Example:
false
