Skip to main content
GET
/
api
/
whatsapp
/
get-options
Get WhatsApp send options for a job
curl --request GET \
  --url https://api.propops.app/api/whatsapp/get-options \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Operation completed successfully",
  "phone_numbers": [
    {
      "number": "<string>",
      "label": "<string>"
    }
  ],
  "templates": [
    {
      "id": 123,
      "name": "<string>"
    }
  ],
  "default_template_id": 123
}

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Authorization: Bearer a1b2c3d4e5f6...

Query Parameters

job_id
integer
required
Example:

1001

Response

Available WhatsApp options

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"

phone_numbers
object[]
templates
object[]
default_template_id
integer