Get details of a social network

Retrieve a single social network by its unique identifier. This endpoint is useful when you need to verify specific social network details or check the status for a particular platform.

Security: The client_secret is never included in the response, even though it is stored in the database. Only the client_key and metadata are returned.

Authorization: Only social networks belonging to your organization can be accessed. Attempts to access social networks from other organizations will return a 403 Forbidden error.

GET/v1/social-networks/{id}

Path Parameters

idstring

Response Body

curl -X GET "https://api.outstand.so/v1/social-networks/string"
{
  "success": true,
  "data": {
    "id": "abc123",
    "network": "x",
    "client_key": "your_client_key_here",
    "createdAt": "2025-01-15T10:30:00Z",
    "updatedAt": "2025-01-15T10:30:00Z"
  }
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "network": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "network": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Internal server error",
  "message": "Database connection failed"
}