Azeer API
  1. Contacts
Azeer API
  • API Authentication
  • APIs
    • Agents
      • Create Agent
      • Update Agent
      • Get Agent Details
    • Contacts
      • Create Contact
        POST
      • Create Bulk Contacts
        POST
    • Messages
      • Send Message
      • Delete Message
      • Delete Bulk Messages
    • Webhooks
      • Webhooks
      • List all webhooks
      • Get Webhook Details
      • Create Webhook
      • Delete Webhook
    • App
      • Create User Session
  1. Contacts

Create Bulk Contacts

POST
https://api.mottasl.ai/v1/contact/upload.bulk
Contactscreatebulk
Last modified:2024-12-04 11:25:42
Import multiple contacts by posting the contacts file

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
email_to_notify
string 
required
The email to receive anotification one the import is done
Example:
admin_email@example.com
Body Params multipart/form-data
file
file 
optional
The file object in xlsx format, see the example file https://cdn.mottasl.ai/docs/AVCImportContactSample.xlsx

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mottasl.ai/v1/contact/upload.bulk?email_to_notify=admin_email@example.com' \
--form 'file=@""'

Responses

🟢200Success
application/json
Body
success
boolean 
required
message
string 
required
task_id
integer 
required
media_id
integer 
required
Example
{
		"success":  true,
		"message":  "Contact import scheduled.",
		"task_id":  123,
		"media_id": 123
	}
🟠400BadRequest
Modified at 2024-12-04 11:25:42
Previous
Create Contact
Next
Send Message
Built with