Skip to main content
POST
/
create-contact-mobile
Error
A valid request URL is required to generate request examples
{
  "status": "success",
  "message": "Operation completed successfully"
}

Body

application/json
token
string
required

JWT Access Token of the mobile app user.

Example:

"eyJ..."

assistant_id
integer
required

ID of the assistant user this contact belongs to.

Example:

101

name
string
required
Example:

"Emergency Contact"

phone
string
required
Example:

"+34600112233"

image
string | null
required
Example:

"http://example.com/contact_image.jpg"

global
boolean
required

If true, adds the contact to all assistants connected to the mobile user.

Example:

false

Response

Contact(s) added successfully. Or error if assistant not connected or contact already exists.

status
string
Example:

"success"

message
string
Example:

"Operation completed successfully"