Retrieve senders

Mit dieser Methode können Sie alle Ihre Absender abrufen.

GET

/senders

Beispiele


        GET /senders HTTP/1.1
Host: api.smsfactor.com
Authorization: Bearer your.token
Accept: application/json
                  
                

Satzung

Code Value
-1 Antrag abgelehnt
0 Antrag in Bearbeitung
1 Anfrage an den Betreiber
2 Bestätigte Anfrage
3 Antrag storniert

Ergebnisformat


{
  "status": 1,
  "message": "OK",
  "senders": [
    {
        "id": 7,
        "sender": "MySender",
        "country_code": "FR",
        "status": "0",                    //Status of the sender request
        "company_name": "My company",
        "vat_number": "FR123456789",
        "fiscal_code": "FR123456789",
        "full_address": "1 rue de la paix",
        "escalation_contact": "[email protected]",
        "general_contact": "[email protected]",
        "website": "www.domain.com",
        "type_of_service": "services",
        "phone_number": "33612345678",
        "created_at": "2024-12-11 16:19:14",
        "message_type": "alert"
    }
  ]
}
                  
                

<response>
<status>1</status>
<message>OK</message>
<sender>
    <id>7</id>
    <sender>MySender</sender>
    <country_code>FR</country_code>
    <status>0</status>
    <company_name>My company</company_name>
    <vat_number>FR123456789</vat_number>
    <fiscal_code>FR123456789</fiscal_code>
    <full_address>1 rue de la paix</full_address>
    <escalation_contact>[email protected]</escalation_contact>
    <general_contact>[email protected]</general_contact>
    <website>www.domain.com</website>
    <type_of_service>services</type_of_service>
    <phone_number>33612345678</phone_number>
    <created_at>2024-12-11 16:19:14</created_at>
    <message_type>alert</message_type>
</sender>
</response>