Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../uploads/../../../../instantly.picotech.app/homes/../../picotext.picotech.app/public_html
الملفات الموجودة في هذا الـ Path:
.
..
.editorconfig
.env
.env.example
.gitattributes
.gitignore
.htaccess
Modules
README.md
app
artisan
bootstrap
composer.json
composer.lock
config
database
lang
package.json
phpunit.xml
picotext.zip
public
resources
routes
storage
test.rest
tests
vendor
vite.config.js

مشاهدة ملف: test.rest

### Send POST request with json body
GET http://localhost:8000/gateway/notification?message_id=1&status=1&sent_date=12/12/2021&part_number=23&message_cost=10&message_status=DELIVRD&dlr_date=19/10/2021
Content-Type: application/json

{
}

### Send POST request with json body
GET http://localhost:8000/api/trash-file?id=25
Content-Type: application/json
Authorization: Bearer 7|HRuK1J86VlcucZ2tOkQVDxBPmEc7R0t8kHa2abBH

{
}
### Send POST request with json body
GET http://localhost:8000/api/chheck/balance
Content-Type: application/json
Authorization: Bearer 3|TA8NaJrpJtDQBNQ4HGmLj0c3uHLW1BCO64s3WAVL

{
}


### Send POST request with json body
POST http://localhost:8000/inbound/telnyx
Content-Type: application/json
Accept: application/json

{
    "data": {
        "event_type": "message.received",
        "id": "4ee8c3a6-4995-4309-a3c6-38e3db9ea4be",
        "occurred_at": "2019-12-09T21:32:14.148+00:00",
        "payload": {
            "completed_at": "2019-12-09T21:32:14.148+00:00",
            "cost": null,
            "direction": "outbound",
            "encoding": "GSM-7",
            "errors": [],
            "from": {
                "carrier": "T-Mobile USA",
                "line_type": "Wireless",
                "phone_number": "8801883998671",
                "status": "webhook_delivered"
            },
            "id": "ac012cbf-5e09-46af-a69a-7c0e2d90993c",
            "media": [],
            "messaging_profile_id": "83d2343b-553f-4c5f-b8c8-fd27004f94bf",
            "organization_id": "9d76d591-1b7d-405d-8c64-1320ee070245",
            "parts": 1,
            "received_at": "2019-12-09T21:32:13.552+00:00",
            "record_type": "message",
            "sent_at": "2019-12-09T21:32:13.596+00:00",
            "tags": [],
            "text": "Test",
            "to": [
                {
                    "carrier": "T-MOBILE USA, INC.",
                    "line_type": "Wireless",
                    "phone_number": "8801883998671",
                    "status": "delivered"
                }
            ],
            "type": "SMS",
            "valid_until": "2019-12-09T22:32:13.552+00:00",
            "webhook_failover_url": "",
            "webhook_url": "http://webhook.site/af3a92e7-e150-442c-9fe6-61658ce26b1a"
        },
        "record_type": "event"
    },
    "meta": {
        "attempt": 1,
        "delivered_to": "http://webhook.site/af3a92e7-e150-442c-9fe6-61658ce26b1a"
    }
}

### Send POST request with json body
POST http://localhost:8000/inbound/vonage
Content-Type: application/json
Accept: application/json

{
    "msisdn": "447700900001",
    "to": "447700900000",
    "messageId": "0A0000000123ABCD1",
    "text": "Hello world",
    "type": "text",
    "keyword": "Hello",
    "message-timestamp": "2020-01-01T12:00:00.000+00:00",
    "timestamp": "1578787200",
    "nonce": "aaaaaaaa-bbbb-cccc-dddd-0123456789ab",
    "concat": "true",
    "concat-ref": "1",
    "concat-total": "3",
    "concat-part": "2",
    "data": "abc123",
    "udh": "abc123"
}


### Send POST request with json body
POST http://localhost:8000/inbound/message_bird
Content-Type: application/json
Accept: application/json

{
    "id": "9a9c83bc90d34a49b57fbc79e33bc5cd",
    "href": "https://rest.messagebird.com/messages/9a9c83bc90d34a49b57fbc79e33bc5cd",
    "direction": "mt",
    "type": "sms",
    "originator": "31XXXXXXXXX",
    "body": "Hi! This is your first message.",
    "reference": null,
    "validity": null,
    "gateway": 10,
    "typeDetails": {},
    "datacoding": "plain",
    "mclass": 1,
    "scheduledDatetime": null,
    "createdDatetime": "2019-02-19T11:56:17+00:00",
    "recipients": {
        "totalCount": 1,
        "totalSentCount": 1,
        "totalDeliveredCount": 0,
        "totalDeliveryFailedCount": 0,
        "items": [
            {
                "recipient": "3887897987458975",
                "status": "sent",
                "statusDatetime": "2019-02-19T11:56:17+00:00"
            }
        ]
    }}


### Send POST request with json body
POST http://localhost:8000/inbound/message_bird
Content-Type: application/json
Accept: application/json

{
    "results": [
        {
            "messageId": "817790313235066447",
            "from": "385916242493",
            "to": "385921004026",
            "text": "QUIZ Correct answer is Paris",
            "cleanText": "Correct answer is Paris",
            "keyword": "QUIZ",
            "receivedAt": "2016-10-06T09:28:39.220+0000",
            "smsCount": 1,
            "price": {
                "pricePerMessage": 0,
                "currency": "EUR"
            },
            "callbackData": "callbackData"
        }
    ],
    "messageCount": 1,
    "pendingMessageCount": 0
}

### Send POST request with json body
POST http://e382-103-88-143-114.ngrok.io/payment/coin/webhook
Content-Type: application/json
Accept: application/json

{
    "txn_id": "CPGB3TSKPYNNTSOPNX00VR21IK",
    "ipn_mode": "hmac",
    "merchant": "92a862d8fbff2fffcb9962b58b43c911",
    "status": "2"
}


### Send GET request with json body
GET http://localhost:8000/api/inbox/list
Content-Type: application/json
Authorization: Bearer 4|SqjbmZLvjKJPHE7j8HsMI42zFrEpMeQDVRTZkV2b

{
}


### Send GET request with json body
GET http://localhost:8000/api/check/balance
Content-Type: application/json
Authorization: Bearer 3|TA8NaJrpJtDQBNQ4HGmLj0c3uHLW1BCO64s3WAVL

{
}

### Send GET request with json body
GET http://localhost:8000/api/sent/list
Content-Type: application/json
Authorization: Bearer 4|SqjbmZLvjKJPHE7j8HsMI42zFrEpMeQDVRTZkV2b

{
}

### Send GET request with json body
GET http://localhost:8000/api/group/list
Content-Type: application/json
Authorization: Bearer 4|SqjbmZLvjKJPHE7j8HsMI42zFrEpMeQDVRTZkV2b

{
}

### Send GET request with json body
GET http://localhost:8000/api/group/contact/list
Content-Type: application/json
Authorization: Bearer 4|SqjbmZLvjKJPHE7j8HsMI42zFrEpMeQDVRTZkV2b

{
    "id": "1"
}

### Send GET request with json body
GET http://localhost:8000/api/customer/number
Content-Type: application/json
Authorization: Bearer 4|SqjbmZLvjKJPHE7j8HsMI42zFrEpMeQDVRTZkV2b

{
    "type": "number"
}

### Send GET request with json body
GET http://e382-103-88-143-114.ngrok.io/api/customer/number
Content-Type: application/json
Authorization: Bearer 12|96uGMe09HgV1e9i4IPV9lQoLpH9NCX6CdkVanDzU

{
    "type": "whatsapp"
}

### Send GET request with json body
GET http://localhost:8000/api/sms/template
Content-Type: application/json
Authorization: Bearer 4|SqjbmZLvjKJPHE7j8HsMI42zFrEpMeQDVRTZkV2b

{
    "id": "1"
}

### Send GET request with json body
GET http://localhost:8000/api/campaign/list
Content-Type: application/json
Authorization: Bearer 4|SqjbmZLvjKJPHE7j8HsMI42zFrEpMeQDVRTZkV2b

{
}

### Send GET request with json body
GET http://localhost:8000/api/sender-id
Content-Type: application/json
Authorization: Bearer 13|Sj0ReyVGMovenzCljfdJ9tbOaoyZcHHuoicNZcaW

{
}

### Send GET request with json body
POST http://localhost:8000/plivo/webhook/1
Content-Type: application/json

{
    "From": "34234234",
    "To": "34234234"
}

### Send GET request with json body
POST http://localhost:8000/plivo/webhook/1
Content-Type: application/json

{
    "From": "34234234",
    "To": "34234234"
}

### Send GET request with json body
POST http://localhost:8000/api/sent/compose?api_key=1|rX6QYReZnEwZgSx56qNIOOnhQmoeAvViBRJ88fnF&from_type=number&contact=01883998671,017232343534, 3435443&sender_id=1&body=message&isSchedule=on&schedule=02/24/2022 12:00 AM;
Content-Type: application/json

{
    "From": "34234234",
    "To": "34234234"
}