Content & Marketing Automation
AI-powered APIPhone Numbers Detector
Parses the provided text for any phone numbers and returns the original detected version in E.164 format.
This API is useful for processing and validating large datasets to identify phone numbers or detecting phone numbers in inappropriate places.
This API is ideal for developers working on data validation tools, form processing applications, or compliance monitoring systems. It automates the extraction and standardization of phone numbers, ensuring accuracy and consistency. Use cases include cleaning and validating customer databases, monitoring for unauthorized phone number inclusion, and enhancing contact information management.
AI jobs involve two key steps::
- Submitting the AI job: Initiating the process by sending the job request.
- Monitoring and receiving results: Continuously checking the job status and obtaining the final output upon successful completion.
Step 1. Submit the AI Job request
Endpoint: POST - /api/v1/content/detect_phones
Attribute | Type | Mandatory | Description |
---|---|---|---|
content | String | Yes | Provide the content from where the mobile number needs to be detected. |
REQUEST EXAMPLE:
{
"content": "Where to find us? Call with a sales tech advisor: Call: 1800-394-7486 or our Singapore office +65 8888 8888"
}
RESPONSE EXAMPLE:
{
"status_url": "https://sharpapi.com/api/v1/content/translate/job/status/5de4887a-0dfd-49b6-8edb-9280e468c210",
"job_id": "5de4887a-0dfd-49b6-8edb-9280e468c210"
}
Step 2. Monitor & Fetch AI Job Results
Endpoint: GET - /api/v1/content/detect_phones/job/status/:uuid
An endpoint is used to check on the progress of the requested API job.
RESULT EXAMPLE:
{
"data": {
"type": "api_job_result",
"id": "d43b36dc-3d1d-4ba7-9a17-36a438d91f09",
"attributes": {
"status": "success",
"type": "content_detect_phones",
"result": [
{
"parsed_number": "+18003947486",
"detected_number": "1800-394-7486"
},
{
"parsed_number": "+6588888888",
"detected_number": "+65 8888 8888"
}
]
}
}
}
- Related Keywords:
- Detection
- Validation
- Extraction
- Phone
- E.164
- Standardization
When Laravel/PHP E-commerce App Meets AI
Jan 1, 2024
Hey fellow Laravel enthusiasts! In the ever-evolving landscape of e-commerce, integrating AI into your Laravel applications is not just a luxury, it’s a necessity. With SharpAPI’s Laravel package, it’s now easier than ever. In this blog, I’ll guide you through 10 transformative use cases for enhancing your Laravel-based e-commerce applications using SharpAPI.