Skip to main content
POST
/
apps
/
etisalat
/
sendsms
Send SMS via Etisalat SMS service with dynamic link generation (POST method)
curl --request POST \
  --url https://api.provident.ae/v2/apps/etisalat/sendsms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "971566955223",
  "msg": "Hello! Check out this project: {{project_link}}",
  "projectId": "P1234567"
}
'
{
  "status": "success",
  "message": "SMS sent successfully with dynamic link",
  "data": {
    "originalMessage": "Hello! Check out this project: {{project_link}}",
    "processedMessage": "Hello! Check out this project: https://ad.prov.ae/ae8x9k2m1q/P1234567",
    "dynamicLinkGenerated": true,
    "projectId": "P1234567"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

SMS request with phone number, message content, and project ID

phone
string
required

Phone number to send SMS to. Accepts UAE local format (05XXXXXXXX) or international format with country code 971 (971XXXXXXXXX).

Example:

"971566955223"

msg
string
required

SMS message content. Use {{project_link}} placeholder for dynamic link insertion.

Example:

"Hello! Check out this project: {{project_link}}"

projectId
string
required

Project ID to generate dynamic links for phone number hashing

Example:

"P1234567"

Response

200 - application/json

SMS sent successfully with dynamic link

status
string
Example:

"success"

message
string
Example:

"SMS sent successfully with dynamic link"

data
object