Saaslogic
  1. contacts
Saaslogic
  • Introduction
  • Authentication
  • Enum Reference
  • Authentication
    • saaslogic token
      • Get the saaslogic access token
    • login Url
      • Gives the login URL
    • logout Url
      • Gives the logout URL
  • Countries
    • Get list of countries
  • Plans
    • List all plans for a product
  • Subscriptions
    • Create a product subscription
    • Retrieve a subscription
    • Create Customer and Subscription
    • Subscription with details permissions, menus and features
    • The Saaslogic URL for creating subscription
  • Usage Reporting
    • Report the resource usages in subscription for invoicing
    • Retrieves the resource usages of a subscription in the current billing cycle
  • Customers
    • addresses
      • Create an address
      • List all addresses
      • Update an address
      • Retrieve an address
      • Delete an address
    • contacts
      • Create a contact
        POST
      • List all contacts
        GET
      • Update a contact
        PUT
      • Retrieve a contact
        GET
      • Delete a contact
        DELETE
    • Create a customer
      POST
    • List all customers
      GET
    • Update a customer
      PUT
    • Retrieve a customer
      GET
    • Delete a customer
      DELETE
  • Vendors
    • vendor addresses
      • Create a vendor address.
      • List all vendor addresses.
      • Update a vendor address.
      • Retrieve a vendor address..
      • Delete a vendor address.
    • vendor contacts
      • Create a vendor contact.
      • List all vendor contacts.
      • Update a vendor contact.
      • Retrieve a vendor contact.
      • Delete a vendor contact.
    • vendor bills
      • Create a vendor bill
      • Cancel a vendor bill.
    • vendor bills payout
      • Update payment details to vendor bills.
    • Create a vendor
    • Update a vendor.
    • Activate a vendor.
    • Dectivate a vendor.
  • Attributes
    • Create a organization attribute and set the value
    • Retrieve a organization attribute
    • Create a user attribute
    • Update a user attribute
    • Get a user attribute
  • Invoices
    • subscriptions
      • Get the invoices
      • Get the invoices by subscription
    • payments
      • Mark the invoice payment status
    • Get the invoice details .
    • cancel the invoices
    • Send invoice as pdf with payment link.
    • Create an on-demand invoice
  1. contacts

Retrieve a contact

GET
/customers/{customerId}/contacts/{contactId}
Customers/contacts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-sandbox.saaslogic.io/v1/customers/782ef4f6-8cdd-4f7c-9223-efc8b63d0b62/contacts/af0a7273-88c0-4119-83f5-cee8191b5fcb' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Authorization;' \
--header 'Content-Type: application/json'
Response Response Example
200 - Retrieve a contact
{
  "firstName": "Michael",
  "lastName": "Hensley",
  "email": "info@adroit.io",
  "contactNumber": "1234567890",
  "countryCode": "IND",
  "contactId": "54674d18-aa04-4650-baf2-36479dafdb22",
  "countryPrefix": "+91",
  "isDefault": true
}

Request

Path Params
customerId
string 
required
(Required) The ID of the customer
Example:
782ef4f6-8cdd-4f7c-9223-efc8b63d0b62
contactId
string 
required
(Required) The ID of the contact
Example:
af0a7273-88c0-4119-83f5-cee8191b5fcb
Header Params
Accept
string 
required
Example:
application/json
Authorization
string 
required
Saaslogic authorization token
Default:
Bearer {{bearerToken}}
Content-Type
string 
optional
Default:
application/json

Responses

🟢200Retrieve a contact
application/json
Body
firstName
string 
required
lastName
string 
required
email
string 
required
contactNumber
string 
required
countryCode
string 
required
contactId
string 
required
countryPrefix
string 
required
isDefault
boolean 
required
🔴500ErrorResponse
Previous
Update a contact
Next
Delete a contact
Built with