Documentation



All requests run through the following base url.

                          https://localhost:7251  

Authorization
Use your bearer token in an Authorization request header.

                          --header 'Authorization: Bearer YourBearerToken'  

GET /api/weave
Get the opt-in status for a mobile phone number.
Request Body:

                      {
      "client_key": "CLI12345",
      "mobile_phone_number": "+15555555555"  
  } 

client_key: A clients unique identifier for WeaveAPI.
mobile_phone_number: The mobile phone number to get opt-in results for.
Response Body:

                      {
      "first_name": "John",
      "last_name": "Smith",
      "optin_status": "subscribed"  
  } 

first_name: The customers first name.
last_name: The customers last name.
optin_status: The opt-in status of the customer.

POST /api/weave
Update the opt-in status for a mobile phone number.
Request Body:

                      {
      "client_key": "CLI12345",
      "mobile_phone_number": "+15555555555",
      "mobile_phone_optin_status": "unsubscribed"  
  } 

client_key: A clients unique identifier for WeaveAPI.
mobile_phone_number: The mobile phone number to get opt-in results for.
mobile_phone_optin_status: The opt in status for the mobile phone number.
Response Body:

                      {
      "first_name": "John",
      "last_name": "Smith",
      "optin_status": "unsubscribed"  
  } 

first_name: The customers first name.
last_name: The customers last name.
optin_status: The opt-in status of the customer.