All team

Fetch team members available on your integration.

Get all team

To get all team on your integration. Below is an example:


    const myHeaders = new Headers();
    myHeaders.append("token", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlaW
    QiOiI2NDEiLCJ1c2VySWQiOiI4MzRkNDVmZS0xZjVkLTQ1YTI
    tYmRiZi05ZmQ3NTFkNTliMTYiLCJpYXQiOjE3MTAyMzYwNjEsImV4c
    CI6MTcxMDMyMjQ2MX0.RIajQj_Zis6G5cyDeeBiHY2FSLU-_yEi5xKkuTFl_50");
    
    const raw = "";
    
    const requestOptions = {
      method: "GET",
      headers: myHeaders,
      body: raw,
      redirect: "follow"
    };
    
    fetch("https://api.switch.tulupay.com/team",
     requestOptions)
      .then((response) => response.text())
      .then((result) => console.log(result))
      .catch((error) => console.error(error));
    

Request details

  • Endpoint:`https://api.switch.tulupay.com/team`
  • Method:`GET`
  • Headers:
  • Content-Type:`application/json`
  • Authorization:`token`
  • Response details

    A successful response will contain a JSON array. Here's a simplified example:

    
        {
            "statusCode": "00",
            "status": "success",
            "message": "Team List",
            "data": [
                        {
                    "user_id": "a15fb83a-e0d3-4c6f-992b-18237c19cc39",
                    "firstname": "gbadegesin",
                    "lastname": "faruq",
                    "role_name": "Developer",
                    "role_id": "645",
                    "email": "ayelaboainiolwa@gmail.com",
                    "mobile_phone": "000 000 0000",
                    "nationality": "1",
                    "team_id": "834d45fe-1f5d-45a2-bdbf-9fd751d59b16",
                    "created": "2024-03-08T15:25:21.000Z"
                },
               {
                    "user_id": "a90e50bc-462f-4d52-8aab-a6314bd057b3",
                    "firstname": "Kola",
                    "lastname": "Toyyibah",
                    "role_name": "Developer",
                    "role_id": "645",
                    "email": "oum@gmail.com",
                    "mobile_phone": "000 000 0000",
                    "nationality": "1",
                    "team_id": "834d45fe-1f5d-45a2-bdbf-9fd751d59b16",
                    "created": "2024-03-12T09:35:19.000Z"
                },
                
            ]
        }
        

    Contact Us for Developer Support

    Contact our dedicated developer support team for assistance, guidance, or any questions you have regarding Tuluswitch API integration. We're here to ensure your development experience is smooth and successful.

    Read Our Developer Blog for Insights

    Master the Tuluswitch API with our Developer Blog! Get expert insights, advanced tips, and industry trends beyond the documentation. Stay connected with the developer community to build exceptional payment platforms. Visit the blog now and unlock your full potential!